Search found 1 match

by Voodooman
2017-07-29T04:49:35-07:00
Forum: Bugs
Topic: Gradient BUG - 128 of 255 repeats twice, shifts whole gradient by 1
Replies: 5
Views: 7390

Gradient BUG - 128 of 255 repeats twice, shifts whole gradient by 1

So, I wanted to generate gradient texture sampler for shader, did this: magick -size 256x1 -define gradient:angle=90 gradient:#000000-#00ff00 linear_gradient_green.png Supposed result should be color from 0 to 255 where pixel X coord equal to color number. From 0 to 128 everything is correct, 0=0 ...