System: Windows XP
Compiler: Turbo Delphi
Api: DirectX 9


Hi there,

I still working on shaders, but progress is very slooooow...

so here is my question: how do I set my shader constants dynamicly??

This is what I want to do
Code:
ConstantTable.SetMatrix(GetD3DDevice, @ConstName, Matrix)
When I replace ConstName with a string (eg 'Proj', for projection matrix (doh)) it works (well, it doesn't return a failure ).
I think its because it wants to have a D3DXHandle, and not a string pointer... so how can I retreive that handle quikly??

greetz Michiel