Skip to content

Commit

Permalink
fix for shader 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Deamon87 committed Mar 10, 2023
1 parent 8238076 commit d8e8f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wowViewerLib/shaders/glsl/vulkan/wmoShader.frag
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void main() {
finalOpacity = tex.a;
} else if (uPixelShader == 7) { //MapObjTwoLayerEnvMetal

vec4 colorMix = mix(tex, tex2, vColor2.a);
vec4 colorMix = mix(tex, tex2, 1.0 - vColor2.a);

matDiffuse = colorMix.rgb ;
emissive = (colorMix.rgb * colorMix.a) * tex3.rgb * distFade;
Expand Down

0 comments on commit d8e8f81

Please sign in to comment.