OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
2.97k stars 457 forks source link

Self-illuminated material doesn't cast shadows #56

Open nitrocaster opened 8 years ago

Xottab-DUTY commented 10 months ago

The bug looks like this: image

Armbands don't have shadow.

We researched this with @vTurbine, and found that these armbands being rendered separately in the base pass, but don't get rendered at all in shadow pass.

Shadow pass, mesh with no armbands: image

Base pass, armbands are rendered separately: image