"Skybuck Flying" <> wrote in message
news:c5454$4ab535a5$d53372a9$ b.home.nl...
> Hello,
>
> I am wondering how to add "textures" to my shaders in FX Composer 2.5.
>
> I want to be able to write my shader from scratch so I know what I am
> doing and so that there isn't any clutter.
>
> The big question on my mind is:
>
> How to add the texture image/file to the material/shader...
>
> This is documented nowhere !
>
> There is a lot of "talk" about TEXCOORD0 and all of that which is pretty
> useless if I as a programmer do not know how to "load"/"specify" my
> texture into the shader ?!?
>
> It turns out the phong effect has some special code example:
>
> texture NormalTexture <
> string ResourceName = "default_bump_normal.dds";
> string UIName = "Normal-Map Texture";
> string ResourceType = "2D";
>>;
According to the newly downloaded documentation this is apperently called an
"annotation"
From
www.dictionary.com:
"
1.a critical or explanatory note or body of notes added to a text.
"
(fungus was a little bit usefull after all since he mentioned the word
"binding" which got me looking into this... I shall unban the poor bastard !
=D)
Bye,
Skybuck.