-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
for anyone interested in shader-based textured shadows, Angros just shared FB example usage of his CreateShadowMap function in Openb3d Plus, so I ported the shadowmap code to Blitzmax, see shadowmap.bmx.
But sadly the main issue is that it only works in 640x480 resolution, if I try 320x240 or 800x600 I get the same result, the shadow seems to be rendered over the whole receiver mesh.
And the same thing happens when I change the shadowmap texture size from 512x512 to 256 or 1024.
Here is the frag shader and here is the vert shader.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels