Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Merge pull request #2 from MattOstgard/master
Browse files Browse the repository at this point in the history
Updated Built-in Shaders to 2019.4.1
  • Loading branch information
Valeour authored Jul 4, 2020
2 parents 632e3e7 + 183e242 commit 6a63f93
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CGIncludes/SpeedTreeWind.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ float3 GlobalWind(float3 vPos, float3 vInstancePos, bool bPreserveShape, float3
float fAdjust = max(vPos.y - (1.0 / _ST_WindGlobal.z) * 0.25, 0.0) * _ST_WindGlobal.z;
#endif
if (fAdjust != 0.0)
fAdjust = pow(fAdjust, _ST_WindGlobal.w);
fAdjust = pow(abs(fAdjust), _ST_WindGlobal.w);

// primary oscillation
float4 vOscillations = TrigApproximate(float4(vInstancePos.x + time, vInstancePos.y + time * 0.8, 0.0, 0.0));
Expand Down
1 change: 1 addition & 0 deletions DefaultResourcesExtra/Particle Standard Surface.shader
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Shader "Particles/Standard Surface"
CGPROGRAM
#pragma surface surf Standard nolightmap nometa noforwardadd keepalpha vertex:vert
#pragma multi_compile __ SOFTPARTICLES_ON
#pragma multi_compile __ SHADOWS_SHADOWMASK
#pragma multi_compile_instancing
#pragma instancing_options procedural:vertInstancingSetup
#pragma target 3.0
Expand Down
39 changes: 0 additions & 39 deletions DefaultResourcesExtra/VR/Shaders/ClippingMask.shader

This file was deleted.

34 changes: 0 additions & 34 deletions DefaultResourcesExtra/VR/Shaders/VideoBackground.shader

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unity Built in Shaders

Current repository version: 2019.3.10
Current repository version: 2019.4.1

An unofficial repo for Unity Built-in Shaders.

Expand Down

0 comments on commit 6a63f93

Please sign in to comment.