Hi Judy
there's no such thins as pseudo-random generator in glsl itself but you can
code it for ex:Linear Congruent Generators :
https://math.stackexchange.com/questions/337782/pseudo-random-number-generation-on-the-gpu
I haven't tested so give us experience feedbacks about this func
Hi all,
Now??I have a flt. model with itself texture??but the internal format of the
texture is RGB??not with ALPHA value??so the ALPHA TEST function is disabled.
My question is how to generate some random fixed alpha value of the texture
with the GLSL language??So that I can use the ALPHA
2 matches
Mail list logo