Search found 6 matches
- Sat Oct 22, 2022 5:43 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Re: Inconsistant lighting in simple scene
I finally had chance to dig into the GouraudShading flag. In OpenGL, it results in a toggle between glShadeModel(GL_SMOOTH) and glShadeModel(GL_FLAT). So it's not a shader program thing fortunately!
- Sun Oct 16, 2022 4:38 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Re: Inconsistant lighting in simple scene
I am using Crocotile3D and the only option I have is "Lambert" and "Phong". I don't know how that makes it into the Collada file exactly. I'd never heard of Lambert before so I don't know how that differs Gouraud, I need to do more research. Maybe some kind of warning that Lambert doesn't work ...
- Sun Oct 16, 2022 3:57 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Re: Inconsistant lighting in simple scene
Oh man that was it!!! Thank you so much, my level looks SO much better.
Where are these shaders stored? I know nothing about the old shader assembly but it sounds interesting. Would it make sense for Irrlicht to force gouraud whenever lighting is enabled or is there still a use case for the current ...
Where are these shaders stored? I know nothing about the old shader assembly but it sounds interesting. Would it make sense for Irrlicht to force gouraud whenever lighting is enabled or is there still a use case for the current ...
- Sat Oct 15, 2022 11:39 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Re: Inconsistant lighting in simple scene
D3D9 gave the same result. I played with the code you provided and I am also seeing weirdness but it's also kind of similar to the issues I am getting with vertex shading. It's shading one side differently than the other....
- Sat Oct 15, 2022 1:45 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Re: Inconsistant lighting in simple scene
Thanks for the input, I will poke around. I don't have D3D SDK installed so I can't try D3D9 right now but it's interesting that Burning's renderer does not show this issue.
- Fri Oct 14, 2022 10:18 pm
- Forum: Beginners Help
- Topic: Inconsistant lighting in simple scene
- Replies: 11
- Views: 1944
Inconsistant lighting in simple scene
Hi, I am having a problem where half of a square is being lit differently than the other half. I'm not sure where to start tracking this down. Moving around the scene there are positions where everything looks okay then others like in the screenshot below is not great. I am using revision 6438 from ...