Sign in

not_a_shader

HTTP 400 · Covers, gallery pictures, backgrounds and other images

What it means

A shader's pass isn't GLSL text with a mainImage function, or has its own main(), a #version or #extension line, texture2D, iMouse or sound.

What to do

Write each pass as GLSL with a mainImage function, without main(), #version, #extension, texture2D, iMouse or sound, and test it with check_shader.

The error's own fix says what to do in that case, and comes first. Search the forum for others who hit it, or see every error.

Home