Started by Hannes, May 13, 2012, 03:49:45 AM
Quote from: Dune on May 21, 2012, 02:08:35 AMYES! Thanks, Matt. Although..... it doesn't work exactly as I would have expected.... or am I doing/thinking something extremely stupid here?I was hoping to find an easier way to restrict foam to coasts for instance...
Quote from: Matt on May 19, 2012, 04:18:50 PMIn 2.4 you can convert any displacement shader directly into a function, using "Displacement shader to vector" (in the Function/Convert menu). If you want to restrict it to only Y displacement you can do this with Function/Convert/Y to scalar, but in typical cases where the displacement is along the normal you can just use the Displacement shader to vector node directly. That will work nicely as the cloud's altitude offset function.Bear in mind that the cloud can never exist outside the minimum and maximum altitudes, determined by cloud altitude +/- cloud depth divided by 2. Altitude offsets and depth modulators change the shape of the cloud but can only produce cloud within this range of altitudes.Matt