Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
set default shadowMapScale value to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002e committed Aug 5, 2024
1 parent 8d7402a commit c93aa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/iron/object/LightObject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LightObject extends Object {
public var lightInAtlas = false;
public var culledLight = false;
public static var pointLightsData: kha.arrays.Float32Array = null;
public var shadowMapScale = 0.0;
public var shadowMapScale = 1.0; // When in forward if this defaults to 0.0, the atlas are not drawn before being bound.
// Data used in uniforms
public var tileOffsetX: Array<Float> = [0.0];
public var tileOffsetY: Array<Float> = [0.0];
Expand Down

0 comments on commit c93aa27

Please sign in to comment.