0 registered members (),
18,767
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Why ray of light goes through wall?
[Re: Aku_Aku]
#388923
12/08/11 19:44
12/08/11 19:44
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Dynamic lights have no collision detection in DirectX. You will have to use a shadow mapping technic (a shader) like PSSM for that.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: Why ray of light goes through wall?
[Re: Aku_Aku]
#388969
12/09/11 00:41
12/09/11 00:41
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
Stencil shadows are only cast from entities. As I said, by default Gamestudio cannot cast dynamic shadows from world geometry. 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? Use a proper lighting shader like PSSM.
Last edited by Redeemer; 12/09/11 00:45.
|
|
|
|