GLSL Shader will not render color from uniform variable

前端 未结 2 1255
猫巷女王i
猫巷女王i 2021-01-14 07:52

I am currently building an app for Android, but have run into some problems with a shader that refuses to render.

Consider the following fragment shader:



        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 08:07

    color is uninitialized, and most likely the shader aborts.

提交回复
热议问题