Hello TGers,
I've been reading up about making snow in TG2 on this forum, but not happy with my results.
Have come up with two ways which ought to make decent snow but am struggling putting the functions together.
-----------------------------------------
ONE:
Based on height maps. Have a height map, put the output through an erosion filter and then - her lies my problem- put it together with original height map selecting by maximum height.
I take the output of the erosion, plug it into a Get Pos, also put the output of the orginal height map into a Get Pos, both through a Conver to Scalar and then I pick the highest elevation with IfThenElse, this output goes into the Y of a Build Vector, the X&Z come from either one the eroded or original height map, via Convert to Scalar. The Build Vector goes into the Displacement input of a displacement shader and then to computer terrain.
-----------------------------------------
TWO
Same as above function-wise, but with a fractal terrain, one original and a copy, but smoother (and with a slightly smaller amplitude)
What is my mistake in the functions. I think it's the Build Vector but have not worked out a way to get the right results.
Thanks for looking and helping.
AM