This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name of display: :0 | |
display: :0 screen: 0 | |
direct rendering: Yes | |
server glx vendor string: Parallels Inc | |
server glx version string: 1.4 | |
server glx extensions: | |
GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig | |
client glx vendor string: Parallels Inc | |
client glx version string: 1.4 | |
client glx extensions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main/glsl/vertexLighting_DBS_entity_fp.glsl b/main/glsl/vertexLighting_DBS_entity_fp.glsl | |
index 1f8708d..058f89e 100644 | |
--- a/main/glsl/vertexLighting_DBS_entity_fp.glsl | |
+++ b/main/glsl/vertexLighting_DBS_entity_fp.glsl | |
@@ -140,7 +140,9 @@ void main() | |
#endif // USE_PARALLAX_MAPPING | |
// compute normal in world space from normalmap | |
- vec3 N = normalize(tangentToWorldMatrix * (2.0 * (texture2D(u_NormalMap, texNormal).xyz - 0.5))); | |
+ vec2 Nxy = texture2D(u_NormalMap, texNormal).xy; |