I work with Cg.
And I can’t found functions for texture lookup
with explicit gradients.
But there is TXD instruction in GL_NV_fragment_program specification
and ARB_shader_texture_lod in openGL ( Cg can generate code for that profiles ).
I work with Cg.
And I can’t found functions for texture lookup
with explicit gradients.
But there is TXD instruction in GL_NV_fragment_program specification
and ARB_shader_texture_lod in openGL ( Cg can generate code for that profiles ).
Hi
Those are on page 39 of the Cg User’s manual (v 1.4).
They are referred to as ‘with derivatives’.
Many thanks - that is it.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.