![]() When you call D3D11CreateDevice you can give a set of feature levels you support. Somehow the code does not want to format correctly - let's try a screenshot.Īctually DirectX 11 supports hardware instancing with Feature Level 9.3, but you don't get the system generated InstanceID value as you would with Feature Level 10.0 or later hardware. VertexShaderOutput.opacity = g_instances.opacity Pass through the texture coordinate without modification. Transform the vertex position into projection space. PixelShaderInput main(VertexShaderInput input) Manually to get it to work or am I doing something wrong?Įrror 5 error X4502: invalid vs_4_0_level_9_3 input semantic 'SV_InstanceID' MyVertexShader.hlsl 27 22 D3DRenderer Is VS forcing the use of an older shader model? Do I need to call fxc I am trying to do instancing in my pixel shader in my metro style app, but when I add SV_InstanceID - the compiler complains about it not being supported by VS 4.0 level 9.3. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |