diff --git a/Data/resources/shaders/.kp3d/map_f.glsl b/Data/resources/shaders/.kp3d/map_f.glsl index 1efad68..e523196 100644 --- a/Data/resources/shaders/.kp3d/map_f.glsl +++ b/Data/resources/shaders/.kp3d/map_f.glsl @@ -59,9 +59,8 @@ void main() vec3 B = normalize(v_bitangent); vec3 N = normalize(v_normal); mat3 TBN = mat3(T, B, N); - vec3 norm = normalize(TBN * tangentNormal); - vec4 texv = texture(u_texture, v_texcoord); - //norm = abs(norm); + vec3 norm = normalize(TBN * tangentNormal) * 2.0; + vec4 texv = texture(u_texture, v_texcoord); vec4 ambient = vec4(0.1, 0.1, 0.1, 1.0) * 1.5, light = ambient; diff --git a/KP3Dii/src/KP3D_Map.cpp b/KP3Dii/src/KP3D_Map.cpp index 8a020f0..c9b38d7 100644 --- a/KP3Dii/src/KP3D_Map.cpp +++ b/KP3Dii/src/KP3D_Map.cpp @@ -785,7 +785,7 @@ void Map::Render() // RenderSkybox(); // Map - //glDisable(GL_CULL_FACE); // <- we shouldn't count on this + glDisable(GL_CULL_FACE); // <- we shouldn't count on this kp3d::Renderer3D::PushShader(kp3d::Renderer3D::GetMapShader()); kp3d::Renderer3D::DrawMesh(m_mesh, m_transform, true, ShouldHighlight); kp3d::Renderer3D::PopShader();