mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 04:40:26 +00:00
Merge branch 'deathclawssuck' into 'master'
Don't flip NV PPL shader normal map Y axis See merge request OpenMW/openmw!810
This commit is contained in:
commit
a631855ac9
1 changed files with 0 additions and 2 deletions
|
@ -56,8 +56,6 @@ void main()
|
||||||
|
|
||||||
#if @normalMap
|
#if @normalMap
|
||||||
vec4 normalTex = texture2D(normalMap, normalMapUV);
|
vec4 normalTex = texture2D(normalMap, normalMapUV);
|
||||||
// Must flip Y for DirectX format normal maps
|
|
||||||
normalTex.y = 1.0 - normalTex.y;
|
|
||||||
|
|
||||||
vec3 normalizedNormal = normalize(passNormal);
|
vec3 normalizedNormal = normalize(passNormal);
|
||||||
vec3 normalizedTangent = normalize(passTangent.xyz);
|
vec3 normalizedTangent = normalize(passTangent.xyz);
|
||||||
|
|
Loading…
Reference in a new issue