unity3d - Random value in nVidia CG language shader (Unity) -
i'm diving cg shaders. i'm baking vertex shader needs 1 random constant (computed 1 time @ start time). know in unity it's pretty easy pass value script shader, i'd know if there way have the shader create random constant me. searching didn't help me much far. help!
steak
not really. can utilize other parameter (like time, or x location model) , run frac() or cgheesy random value, no direct way in shader (that's remotely efficient).
random unity3d shader cg
No comments:
Post a Comment