Skip to content

Commit

Permalink
fixed cloud shadows displaying over transparent objects
Browse files Browse the repository at this point in the history
  • Loading branch information
LGhassen committed Sep 25, 2016
1 parent aaa75a6 commit e74bbd2
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 e74bbd2

Please sign in to comment.