Page 1 of 1

setOrthoWidnowSize changes the specular reflection I see in my model

Posted: Mon Jan 27, 2020 4:17 pm
by todidot
Hi,
I'm new to Ogre.

We use orthographic projection
I added Phong model lighting to our existing code.
It looks great !

However, when I change zoom, (call setOrthoWindowHeight) the reflection part change its location a little bit, the model center itself doesn't change.

Any ideas why changing orthoWindowHeight has anything to do with specular reflection position on my 3d model?

Re: setOrthoWidnowSize changes the specular reflection I see in my model

Posted: Mon Feb 10, 2020 2:59 am
by hyyou
Interesting, can you show some screenshot?
Which version of Ogre are you using?
How many light source you have? ( If there are too many, they can cause glitch. )