Search found 2 matches

by KN4CK3R
Mon Oct 28, 2013 16:04
Forum: Modifications / Integrations / Customisations
Topic: custom geometry in DX10/11
Replies: 3
Views: 9743

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...
by KN4CK3R
Sun Oct 27, 2013 22:19
Forum: Modifications / Integrations / Customisations
Topic: custom geometry in DX10/11
Replies: 3
Views: 9743

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 ...

Go to advanced search