Please tell me, what do i do wrong? I put three objects into a level. A. a spotlight B. a wall C. a crate The wall is between A and C. If i turn/rotate the direction of the spot light (A) to C it will be illuminated. It seems to me the ray of light from A goes through the wall (B). Why? My system is Win7, 3DGS 7.86 (latest) Comm. Edition. Thanks in advance.
Re: Why ray of light goes through wall?
[Re: Aku_Aku]
#388923 12/08/1119:4412/08/1119:44
I try to understand that you wrote. But i fear i did it. Could you point out, where can be found this information in the manual? I would like to know more on this.
Re: Why ray of light goes through wall?
[Re: Dark_samurai]
#388941 12/08/1122:0112/08/1122:01
There is no inconsistency. PSSM is a shader that handles dynamic world lighting and shadowing. By default, Gamestudio cannot cast dynamic shadows from world geometry.
I use stencil shadows. This is a built-in shader, if GS cannot cast dynamic shadows. Am i right? What/Which shader should i use and how to get correct lighting on a level entity surface when it illuminated by an dynamic spot light and when it isnt illuminated?
Re: Why ray of light goes through wall?
[Re: Aku_Aku]
#388969 12/09/1100:4112/09/1100:41
Stencil shadows are only cast from entities. As I said, by default Gamestudio cannot cast dynamic shadows from world geometry.
Originally Posted By: Aku_Aku
What/Which shader should i use and how to get correct lighting on a level entity surface when it illuminated by an dynamic spot light and when it isnt illuminated?