Original Post
Few days ago I downloaded Nvidas FX Composer (very nice app for fx creation in my opinion). The question is about semantics - FX Composer uses a set of known semantics from Microsoft specification (it automatically binds known semantic to color values, light positions and matrices..), but the problem is that it uses the same semantic for different things - in example it uses semantic "Diffuse" for diffuse texture, material color and light color. (That's how it is suposed to be according to MS specification).. so I wanted to know how to use such fx in my program - how can I know which variable is which if they have the same semantics (i.e. how can I know if variable is light color or material color if they use the same semantics) ??? I know that I can use my own semantics, but then FX composer gives some warnings and there is not possible automatic binding , and also I wanted to have my app compatible with MS specification..