Geometry Shader : points + Triangles

Posted by CmasterG on Game Development See other posts from Game Development or by CmasterG
Published on 2013-06-26T14:58:37Z Indexed on 2013/06/26 16:30 UTC
Read the original article Hit count: 236

Filed under:
|

I have different Shaders and for each Shader a instance of the ShaderClass class, which initializes the Shaders, Renders the Shaders, etc.

I use most of the Shaderclasses without Geometry Shader, but in one Shader Class i also use a Geometry Shader.

The problem is, that when I render one object with the Shaderclass that uses the Geometry shader, all other object are rendered with the same geometry that I create in the Geometry Shader. Can you help me?

Is it possible that I have to use a Geometry Shader for each object, when I use one for one object?

I use DirectX 11 with C++.

© Game Development or respective owner

Related posts about c++

Related posts about directx11