CelestiaProject / Celestia

Real-time 3D visualization of space.

Home Page:https://celestiaproject.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ApplyShadow` result discarded during shader creation

ajtribick opened this issue · comments

The result of the ApplyShadow call here isn't used.

if (props.hasShadowMap() && i == 0)
ApplyShadow(false);
}

Need to check what this does and either append the code to source or remove the call.

oh, source += was lost when ApplyShadow was added to avoid code duplication.