nostr:npub16sz45sngz7k7ha48c9gekuaxc6gntujtynsfukdx6807m6lv7z5sgw378f not yet, although I should do that
I’m willing to bet you’re right and it is the projection, but tbh I have no idea what these glm::ortho() values should be. Right now I’ve got:
glm::mat4 lightProjection = glm::ortho(-1000.0f, 1000.0f, -1000.0f, 1000.0f, 0.0f, 5000.0f);
which should give me a VERY big projection, but that seems necessary since the sun is far away
and
light_view = glm::lookAt(Sun::dir * 900.0f,
glm::vec3(0.0f,0.0f,0.0f),
glm::vec3(0.0f,1.0f,0.0f));
which should give me a view matrix roughly where the sun is currently located, looking in the direction of the center of the map.
do either of those look totally whack?