[require] GLSL >= 1.30 [vertex shader passthrough] [fragment shader] float Temp = 0.0; void main() { Temp = log2(Temp); Temp = Temp * 0.0; gl_FragColor = vec4(isnan(Temp)); } [test] draw rect -1 -1 2 2 probe rgb 1 1 1.0 1.0 1.0