Search found 2 matches
- Mon Oct 28, 2013 16:04
- Forum: Modifications / Integrations / Customisations
- Topic: custom geometry in DX10/11
- Replies: 3
- Views: 21428
Re: custom geometry in DX10/11
I fixed it. I think it is because the text uses a texture while the rectangle doesn't. This was true, so I rewrote some parts of the shader. Shader: [...] Texture2D BoundTexture; bool useShaderTexture; [...] float4 PSMain(PSSceneIn input) : SV_Target { float4 colour; if (useShaderTexture) colour = B...
- Sun Oct 27, 2013 22:19
- Forum: Modifications / Integrations / Customisations
- Topic: custom geometry in DX10/11
- Replies: 3
- Views: 21428
custom geometry in DX10/11
Hi, I was playing around with custom geometry in the CEGUI Sample App and found a problem: I added this code inside RenderSingleFrame (CEGuiBaseApplication.cpp). gui_renderer->beginRendering(); d_sampleApp->renderGUIContexts(); static auto *buffer = &gui_renderer->createGeometryBuffer(); static ...