示例#1
0
    public override void SetShaderParams()
    {
        MainShader.SetInt("L_WIDTH", (int)LifeDimentions.x);
        MainShader.SetInt("L_HEIGHT", (int)LifeDimentions.y);

        MainShader.SetVector("displacement", displacement);
    }
 public override void SetShaderParams()
 {
     MainShader.SetInt("count", count);
 }
 public override void SetShaderParams()
 {
     MainShader.SetInt("count", count);
     MainShader.SetFloat("speed", 10);
 }