Gizmo mouse picking now works
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Nuake
|
||||
const Vector2 defaultResolution = Vector2(1, 1);
|
||||
m_Framebuffer = CreateRef<FrameBuffer>(true, defaultResolution);
|
||||
m_Framebuffer->SetTexture(CreateRef<Texture>(defaultResolution, GL_RGB));
|
||||
m_Framebuffer->SetTexture(CreateRef<Texture>(defaultResolution, GL_RED_INTEGER, GL_R32I, GL_INT), GL_COLOR_ATTACHMENT3); // Entity ID
|
||||
m_Framebuffer->SetTexture(CreateRef<Texture>(defaultResolution, GL_RED_INTEGER, GL_R32I, GL_INT), GL_COLOR_ATTACHMENT1); // Entity ID
|
||||
|
||||
InitImgui();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user