About Store Forum Documentation Contact



Post Reply 
Unknown shadows in Terrain
Author Message
rstralberg Offline
Member

Post: #1
Unknown shadows in Terrain
Time for some terrain questions again smile

I get some shadows in my terrain and that would be just great.
But they have no origin. Don't know where they come from.
I just have a terrain and nothing more. They are generated
with the Environment Sun turned on. With Sun turned off
they are gone.

My Sun setting (using the sun image from the EE3 installation)
[Image: ee17.PNG]

Terrain with Sun on
[Image: ee15.PNG]

Terrain with Sun off
[Image: ee16.PNG]


Any idea on this?
08-25-2014 09:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Unknown shadows in Terrain
behind the mountain is there terrain to cover up the other side? from what I know if there is no triangles on the other side the sun light will just go on, the splatters would be the triangles that can be seen from that angle(the suns direction). I would believe either adding terrain to cover it from the sun direction might work, or simply disable material culling on the terrain materials.

Judging from the mountains very varied slopes that is what is occuring.
(This post was last modified: 08-26-2014 01:46 AM by Zervox.)
08-26-2014 01:45 AM
Find all posts by this user Quote this message in a reply
rstralberg Offline
Member

Post: #3
RE: Unknown shadows in Terrain
Aaah... I'm at work now, but will certainly have a check this evening.
Thanks for the suggestion.
08-26-2014 07:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #4
RE: Unknown shadows in Terrain
I can confirm Zervox's explanation of the problem is what is happening, as I had the same issues. I simply ensured all the outer pixels of my heightmap were at zero height and that worked.

I also had to add a simple square plane under my terrain as I had issues with light/shadows being cast on objects whilst the sun was underneath the terrain too!
08-26-2014 08:27 AM
Find all posts by this user Quote this message in a reply
rstralberg Offline
Member

Post: #5
RE: Unknown shadows in Terrain
Thanks guys.
I'm importing terrains (height, alpha and texture maps) from L3DT.
Guess the simplest way to solve this is then to add a thin black border
at the height map texture border before importing.
(This post was last modified: 08-26-2014 09:48 AM by rstralberg.)
08-26-2014 09:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply