If command not working in the fragment shader

Printable View