mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Comment out UV test that is not working
This commit is contained in:
parent
6a1fd05074
commit
6f5b68859f
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ void main()
|
||||||
vec2 offset = getParallaxOffset(eyeDir, tbnTranspose, normalTex.a);
|
vec2 offset = getParallaxOffset(eyeDir, tbnTranspose, normalTex.a);
|
||||||
adjustedDiffuseUV += offset; // only offset diffuse for now, other textures are more likely to be using a completely different UV set
|
adjustedDiffuseUV += offset; // only offset diffuse for now, other textures are more likely to be using a completely different UV set
|
||||||
|
|
||||||
#if @diffuseMapUV == @normalMapUV
|
// TODO: check not working as the same UV buffer is being bound to different targets
|
||||||
|
// if diffuseMapUV == normalMapUV
|
||||||
|
#if 1
|
||||||
// fetch a new normal using updated coordinates
|
// fetch a new normal using updated coordinates
|
||||||
normalTex = texture2D(normalMap, adjustedDiffuseUV);
|
normalTex = texture2D(normalMap, adjustedDiffuseUV);
|
||||||
viewNormal = gl_NormalMatrix * normalize(tbnTranspose * (normalTex.xyz * 2.0 - 1.0));
|
viewNormal = gl_NormalMatrix * normalize(tbnTranspose * (normalTex.xyz * 2.0 - 1.0));
|
||||||
|
|
Loading…
Reference in a new issue