emulating shadow2Dproj with shadow2D

Started by
0 comments, last by Kalidor 17 years, 6 months ago
Hello everybody, I am trying to emulate shadow2dProj by using the explicit depthmap-lookupfunction shadow2D. Can anybody tell me how the shadow2Dproj-function can be emulated with shadow2D (not texture2D!)... thx a lot
Advertisement
I've mentioned what the only difference is between the projective and regular texture lookup functions in at least one of your other threads about this. Either look at those again or read the GLSL spec, where it is clearly stated. I recommend reading the spec anyway.

This topic is closed to new replies.

Advertisement