Don't use mod operator in shaders for compatibility