It compiles, but no shadows
This commit is contained in:
@@ -17,7 +17,6 @@ struct DirectionalLightJob : RenderJob
|
||||
{
|
||||
Orientation = Transform::AbsoluteOrientation(m_World, transformComponent.EntityID);
|
||||
Direction = glm::vec4(0,0,-1,0) * glm::inverse(Orientation);
|
||||
//Direction = glm::vec4((glm::vec3)directionalLightComponent["Direction"], 0.f);
|
||||
Color = (glm::vec4)directionalLightComponent["Color"];
|
||||
Intensity = (double)directionalLightComponent["Intensity"];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user