Terrain height painting with brush
-
wiedzmin112
- Posts: 30
- Joined: Tue Oct 18, 2011 3:48 pm
Re: Terrain height painting with brush
Hmmm...I'm must think about this
Thanks for replys and soory for off-topic 
Re: Terrain height painting with brush
Hey that's cool.
If you want to lower the terrain too, replace this line
with
The result of hy+bp should be placed in a temporary variable, just like brushWidth/2 which is called 6 times each pass 
If you want to lower the terrain too, replace this line
Code: Select all
if(bp > 0 && hy+bp <= 255)Code: Select all
if( hy+bp >0 && hy+bp <= 255)