1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Merge branch 'nvshader' into 'master'

Fix a typo in nv_default shader

See merge request OpenMW/openmw!1362
This commit is contained in:
Evil Eye 2021-11-07 14:30:26 +00:00
commit 147663f0a4

View File

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