mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
make the logic a bit clearer
This commit is contained in:
parent
22a6166b82
commit
99b5b9ba1b
|
@ -102,7 +102,7 @@ vec4 GetTextureValue()
|
|||
}
|
||||
|
||||
if (microTexture) {
|
||||
vec2 scale = baseTexSize / ( 128.0 / microTextureScale );
|
||||
vec2 scale = (baseTexSize / 128.0) * microTextureScale;
|
||||
vec4 tex2Data = texture2D( tex2, fsTexCoord.st * scale);
|
||||
tex1Data = (tex1Data+tex2Data)/2.0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue