Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…lEnhancements

# Conflicts:
#	ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version
  • Loading branch information
WazWaz committed Sep 5, 2019
2 parents 653eeed + a60d4a5 commit c0a3b23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Assets/Shaders/CloudVolumeParticle.shader
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ Shader "EVE/CloudVolumeParticle" {


float4 mvCenter = mul(UNITY_MATRIX_MV, localOrigin);
o.pos = mul(UNITY_MATRIX_P,
mvCenter
+ float4(v.vertex.xyz*localScale,v.vertex.w));


o.pos = mul(UNITY_MATRIX_P,mvCenter+ float4(v.vertex.xyz*localScale,v.vertex.w));
o.pos = o.color.a > (1.0/255.0) ? o.pos : float4(2.0, 2.0, 2.0, 1.0); //cull vertex if low alpha, pos outside clipspace
float2 texcoodOffsetxy = ((2*v.texcoord)- 1);
float4 texcoordOffset = float4(texcoodOffsetxy.x, texcoodOffsetxy.y, 0, v.vertex.w);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"NAME": "Environmental Visual Enhancements",
"URL": "https://raw.githubusercontent.com/WazWaz/EnvironmentalVisualEnhancements/master/EnvironmentalVisualEnhancements.version",
"URL": "https://github.com/WazWaz/EnvironmentalVisualEnhancements/raw/master/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version",
"DOWNLOAD" : "https://github.com/WazWaz/EnvironmentalVisualEnhancements/releases",
"GITHUB": {
"USERNAME": "WazWaz",
Expand Down

0 comments on commit c0a3b23

Please sign in to comment.