Skip to content

Commit

Permalink
Merge pull request #1 from LGhassen/master
Browse files Browse the repository at this point in the history
fixed cloud shadows displaying over transparent objects
  • Loading branch information
WazWaz authored Sep 25, 2016
2 parents aaa75a6 + e74bbd2 commit 79f0a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Atmosphere/Clouds2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ internal void Apply(CelestialBody celestialBody, Transform scaledCelestialTransf
ShadowProjector.transform.parent = celestialBody.transform;
ShadowProjector.material = new Material(CloudShadowShader);
shadowMaterial.ApplyMaterialProperties(ShadowProjector.material);
ShadowProjector.material.renderQueue = (int)Tools.Queue.Geometry + 500;
}


Expand Down

0 comments on commit 79f0a16

Please sign in to comment.