i can't know what this codes mean? ( shader, computer graphics )

前端 未结 0 1952
长发绾君心
长发绾君心 2020-12-22 16:03
**offset = (float)(frac(position.xy * 0.5) > 0.25);  // mod
offset.y += offset.x;  // y ^= x in floating point**

   if (offset.y > 1.1)
  offset.y = 0;
shadow         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题