Hi, guys!
Please help me with this stuipid problem I´ve got. I just can´t figure it out
I´ve got a test-simple scene with cube A, cube B and a flat “floor” cube C, all textures with a simple diffuse material. There is also a point light in the scene, shadows turned on.
The camera is fixed to one position, it doesn´t have to move around.
Cube A is my dummy-player which should be able to move around in the scene and cast real-time shadows.
Cube B is just a static object (i.e. a wall, things in a room, etc.), it should receive the real time shadow and cast a baked shadow, but not a realtime shadow for performance reasons.
Cube C is my floor, it should receive realtime shadows and display the baked cube-b shadow.
I hope you get the point. So I´ve got static objects which should cast baked shadows and a player-dummy which should cast realtime-shadows. No cam movement, just walking player cube.
Generated lightmap UVs are created, I turned “static” on for Cube B and C, light is set to “auto” and baked the dual lightmap. I can´t get the blending to work correctly. If the player dummy cuby A moves to far away, the realtime shadow disappears. Setting another distance lets the static object shadow disappear.
Very frustrating. I can´t get both shadow types to work at the same time.
I tried all night, but it still doesn´t work. Can anybody please help me out with some ideas, hints or a quick-n-dirty-demo scene? (Please don´t point me to the manual, I´ve read it 100 times )
Thanks for time and help!
Oli