diff --git a/Assets/Shaders/CloudVolumeParticle.shader b/Assets/Shaders/CloudVolumeParticle.shader index 9709e26c..fda42a56 100644 --- a/Assets/Shaders/CloudVolumeParticle.shader +++ b/Assets/Shaders/CloudVolumeParticle.shader @@ -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); diff --git a/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version b/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version index 1f8f8b3d..c3e8c068 100644 --- a/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version +++ b/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version @@ -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",