SHADOW PROBLEM

Problems building or running the engine, queries about how to use features etc.
Post Reply
dgraisins
Kobold
Posts: 38
Joined: Wed Jun 17, 2015 10:43 am

SHADOW PROBLEM

Post by dgraisins »

Hi, I have this problem with shadow. I use Hydrax in my program but it's not the problem.

-I tried disabling hydrax and this problem still comes up so it's not hydrax that's causing it.
-the world is very big about 200 units * 1000

Anyone familiar with this problem?
Image
dgraisins
Kobold
Posts: 38
Joined: Wed Jun 17, 2015 10:43 am

Re: SHADOW PROBLEM

Post by dgraisins »

Oh, by the way I use PSSM.
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Re: SHADOW PROBLEM

Post by al2950 »

Your problem is extremely vague! Any chance of some details of how you have setup your shadow code and lighting shaders?
dgraisins
Kobold
Posts: 38
Joined: Wed Jun 17, 2015 10:43 am

Re: SHADOW PROBLEM

Post by dgraisins »

Hi! I fixed the issue. I was using sceneManager->setShadowTextureSetting instead of sceneManager->setShadowTextureConfig.

Now I have 1 more problem, the shadow disappears when I'm on the other side of the boxes, and when I'm on the opposite side (180 degrees) it appears.

It's weird.
Post Reply