A really easy way to do real-time shadows that is applicable for actual game use

Blitz3D Forums/Blitz3D Programming/A really easy way to do real-time shadows that is applicable for actual game use

Mustang:
You don't HAVE to use power of 2 sizes for the shadow textures, you can use any size you want, so long as they're square. So you can use 192x192 if that suits you. I can't guarantee that your video card won't scale the texture to a larger size though and/or potentially create artifacts.



Ah. The thought of using non power of 2 textures never even occured to me - too used to using power of 2 textures always or something? :)

...But i think that it (using non power of 2 values) might prodice artifacts or Blitz3D will scale them or something. Have to test that.