   WorldViewProjection semantics
  I've created a tiny shader in FX Composer 2.5. The only thing it can do is changing the output color in PS. Exactly the same shader fails in my DirectX app. The reason is WorldViewProjection semantics. After applying my shader to an object in game, it disappears. I need to set the WorldViewProj parameter manually to get the object displayed. So the question is how do you automatize the process of setting WorldViewProj since it has 'WorldViewProjection' semantics assigned? Or is its role a bit different? In other words, how to make use of it? The same concerns TIME semantics, which is a comfortable thing in FXComposer, but has no effect in DX.Thanks for your help! Here's the complete shader code:float4x4 WorldViewProj:WorldViewProjection;struct vsout{float4 pos : POSITION;float4 col : COLOR;};vsout mainVS(float3 pos : POSITION){vsout v = (vsout)0;v.pos = mul(float4(pos.xyz, 1.0), WorldViewProj);v.col = float4(1,0,1,1);return v;}float4 mainPS() : COLOR {return float4(1,0,1,1);}technique technique0 {pass p0 {CullMode = None;Lighting = false;FillMode = Solid;ZEnable = true; ZWriteEnable = true;AlphaBlendEnable = false;  VertexShader = compile vs_3_0 mainVS();PixelShader = compile ps_3_0 mainPS();}}   
  If you are using ID3DEffect for your shaders then you can interrogate the effect for variables with specific semantics using GetParameterBySemantic(). You're going to have to decide on a set of semantics that your engine supports and then , when an effect is loaded, you can see which semantics are in use by the effect, cache the handles and use them later to apply the values.   ;  you should look at this description here.http://msdn.microsoft.com/en-us/library/bb509647%28VS.85%29.aspx;  Thank you for the replies.GetParameterBySemantic() seems good in my case.Grunty, I had found the site you pasted, but it doesn't mention semantics like ViewProjection or Time, although they occur in docs of some dependent products/engines (FXComposer or this).Should I understand it only as a custom extension functionality provided directly by the developers (and which they should take care of) ?   ;  simply spoken yes.like dave said it helps to identify parameters.the only different as i know is that directx 10 or above, you have access to the system value semantics.