fix typo in smaa shaders
parent
c916b56420
commit
fb28d29811
|
@ -155,7 +155,7 @@ shader 0 [SMAALumaEdgeDetection@smaapreset@smaaopts] [
|
|||
edges.xy *= step(0.5 * maxDelta, delta.xy);
|
||||
|
||||
@(if (smaaopt "t") [result [
|
||||
edges.z = texture2DRect(tex0, gl_TexCoord[0].xy).a;
|
||||
edges.z = texture2DRect(tex1, gl_TexCoord[0].xy).a;
|
||||
]])
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ shader 0 [SMAAColorEdgeDetection@smaapreset@smaaopts] [
|
|||
edges.xy *= step(0.5 * maxDelta, delta.xy);
|
||||
|
||||
@(if (smaaopt "t") [result [
|
||||
edges.z = texture2DRect(tex0, gl_TexCoord[0].xy).a;
|
||||
edges.z = texture2DRect(tex1, gl_TexCoord[0].xy).a;
|
||||
]])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue