Heightfield as Crater Shader

Started by WAS, November 04, 2015, 02:44:42 PM

Previous topic - Next topic

mhaze

This is why we need a random and repeat shader ;)

AP

I think Matt's proposal of randomizing the Shader array is a good idea. Perhaps options similar to the Populator can be added for the randomization.

WAS

#47
Quote from: Chris on November 09, 2015, 05:07:21 PM
I think Matt's proposal of randomizing the Shader array is a good idea. Perhaps options similar to the Populator can be added for the randomization.

It would not allow for cylindrical craters. This is good for stones and stuff that doesn't rely on shape, but not for shape-oriented randomization. The only thing that would allow this to happen is a Position Function which could have the option to anchor a planet and pipe in random numbers or other functions for random positioning, such as a constant vector as XYZ. Tranforming the terrain can possibly work but I can't seem to make it do anything.

AP

Right, that makes sense. What is needed is some type of new function shader here.