BlocksRenderer pseudo-lights update

This commit is contained in:
MihailRis 2023-12-05 14:10:50 +03:00
parent 2e98aa39d9
commit af2786164a

View File

@ -126,9 +126,9 @@ void BlocksRenderer::face(const ivec3& coord,
return;
}
const vec3 sunVector = vec3(0.431934f, 0.863868f, 0.259161f);
const vec3 sunVector = vec3(0.411934f, 0.863868f, 0.279161f);
float d = glm::dot(vec3(axisZ.x, axisZ.y, axisZ.z), sunVector);
d = 0.75f + d*0.25f;
d = 0.7f + d*0.3f;
vec4 tint(d);