Course Library
Learning Paths
Free Courses
Learn Blender 3D in the way that’s right for you.
Inner Circle
Where members share progress and help each other learn.
›
The Commons
A free Blender community open to artists of all skill levels.
Forum Archive › Shader Error: variable ‘col’ used without having been completely initialized › Reply To: Shader Error: variable ‘col’ used without having been completely initialized
Sorry, I’m afraid I don’t know Unity or GLSL, but (stupid idea, probably), if the compiler is complaining that col is not initialized, couldn’t you simply initialize it, when it is declared… so, change line 36 to something like: half4 col = 0;