While this might work in my own delphi/opengl programs... it might not work
in FX Composer 2.5...
Today I tried to change some code from tex2D to texRECT in FX Composer 2.5
but I could not get it working...
Possible explanantions for failure of working in fx composer 2.5:
1. I don't get it.
2. FX Composer 2.5 has a problem.
3. Maybe FX Composer 2.5 needs something enabled... I did see some #comments
in other assembly source which enabled some ARB thingy... I haven't tried
that yet. These would be called "extensions" which would look like:
#extension_bla enable or something like that.
For now I will keep using tex2D and use multiplications to go from
normalized coordinates to unnormalized coordinates... I am not completely
happy about it because it might cost some performance ?!?
Or maybe the compiler is smart enough to detect that it should use
unnormalized instructions ? Me not sure about that
Writing code with normalized coordinates is easy though since everything is
normalized... so it's nice and consistent once "you" = me =D get the hang of
it
Bye,
Skybuck.