View Full Version : Deferred Shading Relief Mapping?
Golgoth
06-13-2006, 11:45 AM
hi all!
Anyone know a GLSL example I can chew on? any recent development on this?
thx
Overmind
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.
Golgoth
06-14-2006, 03:19 PM
ok, thx Overmind!
maybe something more simple like parallax mapping?
anyone?
Wouldn't that all work exactly the same: The way Overmind already mentioned!?
Golgoth
06-14-2006, 04:11 PM
I ve found this:
http://fabio.policarpo.nom.br/relief/index.htm
it just phenomenal... anyone aware of similar development in glsl?
Overmind
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...
Nicolas Lelong
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.
http://www.ati.com/developer/SIGGRAPH05/Tatarchuk-ParallaxOcclusionMapping-Sketch-print.pdf
HTH
Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.