View Single Post
Old 02-15-07, 07:28 AM   #3
oc2k1
Registered User
 
Join Date: Aug 2006
Posts: 38
Default Re: GLSL shadow2D() problem

My shadows are working with a own comparison function. The problem is that I can't use the hardware PCF with that emulation.

And I don't know why the shadow2D() returns the value from the shadowmap instead the comparison with the 3rd value.


That are dualparabolic shadows rendered with 16x AA and two shadowsamples per fragment (efective 8 samples per lightsource, because the 16x MSAA includes a 4x SSAA). With hardware PCF I could get 16 samples per pixel with only one lookup per fragment. (PS: 5 lights are switched off)
Attached Thumbnails
Click image for larger version

Name:	lumina38.jpg
Views:	2454
Size:	78.8 KB
ID:	24063  
__________________
Will code GLSL for food.
oc2k1 is offline   Reply With Quote