Skip to content

Commit

Permalink
fix pace shader
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Sep 15, 2015
1 parent 5c3f39f commit 583cdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/materials/pacenote.shader
Expand Up @@ -51,7 +51,7 @@ SH_START_PROGRAM // frag ----
uv += par.zw; // offset

float4 texb = shSample(diffuseMap, uvb), texc = shSample(diffuseMap, uv); // tex b,c
float4 tex = float4( lerp(texb.rgb, texc.rgb, texc.a),
float4 tex = float4( shLerp(texb.rgb, texc.rgb, texc.a),
par.y > 0.f ? texc.a : texb.a); // tex sum, final

float a = tex.a * vertColor.a * fade; // alpha
Expand Down

0 comments on commit 583cdea

Please sign in to comment.