Skip to content

Commit

Permalink
Add a depth offset to city lights to avoid flickering with Parallax
Browse files Browse the repository at this point in the history
  • Loading branch information
LGhassen committed Sep 9, 2022
1 parent 2e588ea commit 085f49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Shaders/SphereTerrainCityLights.shader
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Shader "EVE/TerrainCityLight" {
Pass {

Lighting Off
Offset -0.25, -0.25

CGPROGRAM

Expand Down

0 comments on commit 085f49c

Please sign in to comment.