Repository navigation
Light angles not affecting terrain properly? #973
|
Is it just me, or does the terrain not interact with angled directional lights the way it should? It feels like the terrain should be evenly lit, this uneven shading causes foliage to stick out. |
Replies: 5 comments 5 replies
|
Post pictures and details so we can discuss them. What angle are you talking about? |
|
https://github.com/Pandaily591/terrain3d-lighting-mrp I've uploaded an MRP here for godot 4.6, i couldn't upload the terrain3d addon itself though. The issue is reproducible across all versions of the addon, i was using the most recent build from today. Since you can't seem to notice anything wrong with the images i shared, i can't help but think this is how the lighting is intended to interact with the terrain, but i really feel like it's not supposed to look this way. In the MRP, you just need to rotate the camera around the y-axis to see the gradient. |
|
Ok, thank you very much for your help! |














I didn't say this at all. What I wrote is that I wasn't able to understand what you were attempting to communicate with your pictures.
I loaded your MRP in my demo project w/ 4.6.2, using vulkan, and a commit close to
main. I note that your project is on D3D12.Your MRP doesn't demonstrate the problem. The texture doesn't even work since it's not a power of 2 and is just all white. I fixed that and made a large mesh to compared against the terrain. I used your white texture, with a default normal map (copied from Terrain3D, but makes no visual difference) and same albedo tint on both objects. All other Terrain3D and …