Recent posts

#21
Image Sharing / Re: Weekend Breeze
Last post by Stormlord - June 30, 2025, 03:12:04 AM
WOW
This looks very natural, nice one!

STORMLORD
#22
Image Sharing / Weekend Breeze
Last post by jhmart1 - June 29, 2025, 09:29:33 PM
Terragen 4
#23
Terragen Discussion / Re: Get brightness of object
Last post by Dune - June 28, 2025, 02:02:05 AM
I don't know a simple way to do this. There are some functions like get ray origin, but I have no clue what they do and how to link. Just wait for Matt or Kevin I suppose...
#24
Terragen Discussion / Re: Get brightness of object
Last post by Belmont224 - June 27, 2025, 11:41:35 AM
A simple 'cartoon' or threshold shader. So values below a certain value are black, values above a certain value are white. See example below (one half showing the effect I want, the other half showing the render without the effect). It isn't based on texture, but on the light hiting the object. I know this can probably be done outside of terragen, but I wanted to see if I could do it inside.

#25
Terragen Discussion / Re: Get brightness of object
Last post by Dune - June 27, 2025, 11:34:14 AM
I think if you make clear what you want to achieve exactly (with that mask), someone else may have an idea.
#26
Terragen Discussion / Re: Get brightness of object
Last post by Belmont224 - June 27, 2025, 10:50:50 AM
Thank you! After playing around a lot I did get something similar to that (though not as concise).

I'm actually trying to get the amount of light that is falling on the surface, not necessarily the brightness based on the texture. (that's what I meant by brightness, I can see I was very unclear).

Initially I was thinking I could base it off the angle between the direct lighting and the surface normal. So if the sun was right behind me, and the landscape it was hitting had a surface normal pointing right back at me I would consider that brightly lit. If the surface normal was pointed 45 degrees away from me, that would be halfway lit, etc. I thought that might be a rough estimation. Besides not knowing the math for how to do that, it doesn't take into account shadows though.
#27
Terragen Discussion / Re: Get brightness of object
Last post by Dune - June 27, 2025, 01:25:51 AM
I don't know if this would work for you.
#28
Terragen Discussion / Get brightness of object
Last post by Belmont224 - June 26, 2025, 06:08:34 PM
Is there any way to get the brightness of an object (terrain)? I see some function like get diffuse color and get final color, but I can't seem to make them do anything. 

As an example, can I make a shader that when the brightness is 0.5 and below it will be black and 0.55 and above it will be white?
#29
Image Sharing / Re: "Solyx"
Last post by Stormlord - June 26, 2025, 05:57:16 AM
Would it be possible to read your inbox?
I have sent you an email....

STORMLORD
#30
Terragen Support / Re: Planetside Software websit...
Last post by raymoh - June 22, 2025, 01:09:02 AM
Thank you for your efforts, my license is working again.