Started by N-drju, October 03, 2016, 01:32:24 pm
Quote from: N-drju on October 03, 2016, 01:32:24 pmCan you help me with this little trouble I have?How can I flatten out an elevated part of a displaced terrain? Like, on a given altitude? Simple shape shader does a very nice job of smoothly flattening the surface but it seems to work on 0m elevations only.
Quote from: N-drju on October 03, 2016, 01:54:17 pmNope, that doesn't work. It still flattens the terrain all the way down to zero or does not do anything at all and I tried putting SSS in different arrangements.
Quote from: AP on October 03, 2016, 04:49:08 pmThis? http://www.planetside.co.uk/forums/index.php/topic,7548.15.htmlSee post Reply #20.
Quote from: AP on October 03, 2016, 06:12:38 pmUse a Add Operator, Heightfield clip vertical 01 and adjust Clip peaks. This worked on my end using an imported .ter and it will be the same for Heightfield (generate).
QuoteI've used that and it's handy but it's not very area specific which is I think is what N-drju is after...there's no way I know of to mask an operator.
Quote from: N-drju on October 04, 2016, 01:49:12 amQuoteI still would like to have my question answered nonetheless. [/font][/size]here y go...apply this principle to your scene
QuoteI still would like to have my question answered nonetheless. [/font][/size]
Quote from: Dune on October 04, 2016, 02:47:40 amA similar question has been asked before, I remember, and I don't understand why an SSS won't work for local flattening. Attach it to the mask input of a surface shader, then check smoothing and the area drops to zero, then raise it again to the desired height by the offset displacement.
Quote from: N-drju on October 04, 2016, 03:55:00 pmBobby, Ulco, that was exactly what I needed. Thank you for sharing your knowledge!