Planetside Software Forums

General => Terragen Discussion => Topic started by: sjefen on April 09, 2009, 06:36:51 PM

Title: Feature Request - Surface Layer
Post by: sjefen on April 09, 2009, 06:36:51 PM
Would it be possible to have an option in the surface layer that automaticly knows where there are object's in the scene interacting with it?
With this we could have a slider or something to adjust the visibility of the shader around those object's.

I was thinking if you have a snowy scene and with a small forest in it, there would be less, or no snow on the ground inside the forest. It would be cool to have an easy control of this.

- Terje
Title: Re: Feature Request - Surface Layer
Post by: neuspadrin on April 09, 2009, 07:02:42 PM
Seems like it wouldn't be too hard to use a painted shader or even use the inverted population shader to avoid areas?  Where as this feature seems like it would be a little complex.
Title: Re: Feature Request - Surface Layer
Post by: Mr_Lamppost on April 09, 2009, 07:11:04 PM
The creation of a mask would need to be implemented as part of the population shader.  Best guess: there were some experiments a good time ago which completely failed to duplicate the population object positioning using external functions.  There are factors in the placement method that we don't have access to.  Adding the option to generate a mask that could be conncted to the blend shader input of a surface layer would definitely be useful.
Title: Re: Feature Request - Surface Layer
Post by: Oshyan on April 09, 2009, 10:49:56 PM
It's definitely a good idea. Maybe something that would be implemented as a more general and flexible independent node, like "proximity to object" or something, which could then be used in this way, as well as  complex function networks, etc. Proximity-based effects are definitely something we've thought about and would like to implement in the future (great for shore foam on water, for example).

- Oshyan
Title: Re: Feature Request - Surface Layer
Post by: Tangled-Universe on April 10, 2009, 04:51:49 AM
Quote from: Oshyan on April 09, 2009, 10:49:56 PM
It's definitely a good idea. Maybe something that would be implemented as a more general and flexible independent node, like "proximity to object" or something, which could then be used in this way, as well as  complex function networks, etc. Proximity-based effects are definitely something we've thought about and would like to implement in the future (great for shore foam on water, for example).

- Oshyan

Or for clouds climbing up a mountain... :)
Dozens of applications probably.
Good idea Sjefen!

Martin
Title: Re: Feature Request - Surface Layer
Post by: Mr_Lamppost on April 10, 2009, 10:38:11 AM
Proximity shader.  Better still.
Title: Re: Feature Request - Surface Layer
Post by: Oshyan on April 10, 2009, 07:42:30 PM
Exactly.

- Oshyan