Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要编写一个使用抖动进行透明的 glsl 着色器。 我也应该能够给出一个等级的透明度。 所以 0.1 非常透明,0.9 几乎不透明。 但我不知道我会怎么写。 我知道如何编写一个 0.5 透明度抖动着色器,但我不知道如何编写一个接受一个参数来告诉它必须有多透明的参数。