1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 09:39:43 +00:00

Fix a typo in nv_default shader

This commit is contained in:
Alexei Dobrohotov 2021-11-07 16:02:27 +03:00
parent 726653087e
commit 9dd36a345f

View file

@ -44,7 +44,7 @@ void main()
{ {
#if @diffuseMap #if @diffuseMap
gl_FragData[0] = texture2D(diffuseMap, diffuseMapUV); gl_FragData[0] = texture2D(diffuseMap, diffuseMapUV);
gl_FragData[0].a *= coveragePreservingAlphaScale(diffuseMap, adjustedDiffuseUV); gl_FragData[0].a *= coveragePreservingAlphaScale(diffuseMap, diffuseMapUV);
#else #else
gl_FragData[0] = vec4(1.0); gl_FragData[0] = vec4(1.0);
#endif #endif