Skip to content

Commit

Permalink
fix z-fighting on projector
Browse files Browse the repository at this point in the history
  • Loading branch information
LGhassen committed Mar 15, 2019
1 parent 5815107 commit e3479dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scatterer/Core.cs
Expand Up @@ -158,7 +158,7 @@ public bool isPQSEnabledOnScattererPlanet

public bool isActive = false;
public bool mainMenuOptions=false;
string versionNumber = "0.052";
string versionNumber = "0.053";

public object EVEinstance;
public SunlightModulator sunlightModulatorInstance;
Expand Down
Expand Up @@ -9,7 +9,7 @@
ZTest LEqual
Cull Back

Offset -1, -1
Offset -0.05, -0.05

Blend DstColor Zero //multiplicative

Expand Down Expand Up @@ -87,7 +87,7 @@
ZTest LEqual
Cull Back

Offset -1, -1
Offset -0.05, -0.05

Blend OneMinusDstColor One //soft additive

Expand Down
Expand Up @@ -10,6 +10,7 @@ Pass {
ZWrite Off

Blend DstColor Zero //multiplicative
Offset -0.05, -0.05

CGPROGRAM
#pragma vertex vert
Expand Down Expand Up @@ -98,6 +99,7 @@ Pass {
ZWrite Off

Blend OneMinusDstColor One //soft additive
Offset -0.05, -0.05

CGPROGRAM
#pragma vertex vert
Expand Down
Binary file modified scatterer/bin/Release/scatterer.dll
Binary file not shown.

0 comments on commit e3479dd

Please sign in to comment.