Hello, I'm rendering a small scene into a 1024x400 window (using example 14) on the PC using Irrlicht 1.5.
While using stencil shadows, I noticed that the width of the shadow stops in a straight line, as if its border was set to 400x400.
If I render to 1024x128 then the stencil seems to stop at 128x128.
In DirectX everything is fine. This is just OpenGl on PC for me.
I've not tried this on the Mac, but I need it to work on the Apple for a project.
Thanks,
Dave
[fixed]OpenGl stencil not wide enough
Looks like you're right, I didn't try in 1.5 but shadows are completely broken in OpenGL in SVN at the moment. Setting the window size like you said gives a shadow coloured overlay to the a 400x670 region in the middle of the screen (so far only tested in Windows)
So the stencil OpenGL stencil buffer is bugged in 1.5 and completely broken in 1.6. No time to try this on the Mac at the moment, but thanks for the report.
So the stencil OpenGL stencil buffer is bugged in 1.5 and completely broken in 1.6. No time to try this on the Mac at the moment, but thanks for the report.
Last edited by bitplane on Sat Feb 28, 2009 4:35 pm, edited 1 time in total.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I cannot reproduce this, not in 1.5 and not in trunk. Can you please give a screenshot for this problem? Does your device size exceed your desktop size? Do you use fullscreen or windowed mode? Since OpenGL does not have a square dimension restriction (as opposed to older DX) it could only be a projection problem or something like that. But I have no clue ATM.
Last edited by bitplane on Sat Feb 28, 2009 4:36 pm, edited 1 time in total.