Did the glfog command in jit.gl.sketch ever get fixed? I’m still getting the invalid enumeration message that was reported about a year ago. Is there anything different than the docs, or is there a workaround?
For various reasons, it would be very inconvenient for me to use the gl group versions instead.
>I keep getting an error that says invalid enumeration and disappers when I
>take out the glfog command. Obviously, I’m not using it correctly.
Actually, currently glfog in jit.gl.sketch isn’t implemented properly. We’ll fix this in a future release and expose all of the appropriate parameters. Thanks for pointing this out.
In the meantime, however, you can control the fog by using the gl group "fog" and "fog_params" attributes: