You seem to have fixed all my shader compile errors, great.
Direct3D still runs fine... but for OpenGL, the included binary crashes! (the previous one did too, after I attempted to fix the errors myself)
Here's the output with my graphics card info etc: http://pastebin.com/m42b0a204
It says GLSL version is 0.0
Now I tried compiling it myself. Using Irrlicht 1.4.2.
And it runs without crashing! also this time reports that GLSL version is 1.0
It seems getVendorInfo is not defined. So I commented out the line you say (so ScreenRTT is screen sized), which gives this
setting the screenRTT size to (512,512) fixes the size problem, but it's still not right:
My graphics card (ATI mobility radeon 9700) drivers are a few years old, it's an acer laptop and they don't provide updated ones. (and I have never managed to update them myself)
- I get about 30-40 FPS on the lower settings. As high as it will go @2048x2048 and 16 PCF it's about 20 FPS.
That's for the first example. Example 2 is about 20 fps on the lowest settings, 4 on the highest!
- when setting the shadowmap resolution too high for my card (4096x4096), it gives lots of "Error: Could not set render target." messages. Is it possible to automatically fall back to a lower size if that is not supported?