Quote:
Originally Posted by joaquimandrade
Thanks, fixed.
I think that the big difference in mine is the approach that i had. I still don't know if it works right but it's certainly not normal.
Please do a tutorial. I would love to read a text of yours.
|
You could also do:
anyColor[x] = clamp( anyColor[x] , 0 , 255 )
Clamp is a fairly simple and useful function that I dont think will confuse new scriptors.
__________________