On 19 September 2014 21:39, Joachim Priesner joachim.priesner@web.de wrote:
Thanks for your response.
For example, it doesn't currently distinguish between using the absolute fog coordinate in the vertex shader or doing the same in the fragment shader.
Is it enough to extend the test to include both FOGVERTEXMODE and FOGTABLEMODE? Or what else would I (roughly) have to do?
The most straightforward way to do the test would probably be to use vertex/fragment shaders to read/write the fog coordinate. See e.g. fog_with_shader_test().