@reiti.net wrote:
I fail to find any information about it. Trying to compile a fx file with Geometry Shader (GS) fails with "unexpected token 'G'" so I would expect, there is no direct support?
I've sound some snippets where people inject a manually compiled GS during rendering by accessing the current DeviceContext. Is this the way to go with current monogame or do I just miss to do something special?
technique Default { pass P0 { VertexShader = compile VS_SHADERMODEL VS(); GeometryShader = compile GS_SHADERMODEL GS(); <-- compile fails here PixelShader = compile PS_SHADERMODEL PS(); } };
Posts: 2
Participants: 2