View Full Version : Deferred Shading Relief Mapping?
06-13-2006, 11:45 AM
Anyone know a GLSL example I can chew on? any recent development on this?
06-14-2006, 08:48 AM
I don't have an example ready, but here is how I would do it:
You have to do the relief mapping part (up to the part where you determine the final texcoord) in the geometry pass. Then you write the normal/diffuse color/... to the framebuffer.
Finally the deferred shading pass would be just like with "normal" deferred shading, ignoring the fact that you're doing relief mapping.
06-14-2006, 03:19 PM
ok, thx Overmind!
maybe something more simple like parallax mapping?
Wouldn't that all work exactly the same: The way Overmind already mentioned!?
06-14-2006, 04:11 PM
I ve found this:
it just phenomenal... anyone aware of similar development in glsl?
06-15-2006, 08:34 AM
Doesn't sound much different from what I had in mind ;)
Ok, the samples are in Cg, but it shouldn't be that much of a problem to port them to GLSL...
06-16-2006, 07:11 AM
I think that ATI RenderMonkey has a sample using defered rendering for their "parallax occlusion mapping" thing, which is quite comparable to relief mapping.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.