Open BlackGoku36 opened 3 years ago
Using this project instead: https://github.com/BlackGoku36/MRTKhaBug2 Kha version: 87009c6261
Build output:
Using Kha (¯\_(ツ)_/¯) from /Users/urjasvisuthar/Desktop/MRTKhaBug2/Kha
Creating Kha project.
Compiling shader 1 of 6 (light.frag.glsl).
Compiling shader 2 of 6 (light.vert.glsl).
Compiling shader 3 of 6 (shade.frag.glsl).
Compiling shader 4 of 6 (shade.vert.glsl).
Compiling shader 5 of 6 (texdebug.frag.glsl).
Compiling shader 6 of 6 (texdebug.vert.glsl).
Compiling shader 1 of 8 (painter-colored.frag.glsl).
Compiling shader 2 of 8 (painter-colored.vert.glsl).
Compiling shader 3 of 8 (painter-image.frag.glsl).
Compiling shader 4 of 8 (painter-image.vert.glsl).
Compiling shader 5 of 8 (painter-text.frag.glsl).
Compiling shader 6 of 8 (painter-text.vert.glsl).
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).
Using Kinc (9eed21a7) from /Users/urjasvisuthar/Desktop/MRTKhaBug2/Kha/Kinc
kincfile found.
Creating macOS project files.
Done.
Application output:
-[MTLDebugRenderCommandEncoder validateFramebufferWithRenderPipelineState:]:1288: failed assertion `Framebuffer With Render Pipeline State Validation
For color attachment 1, the render pipeline's pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm).
'
(Kha version has nothing to do with both the issue)
Fixed the Kha version not showing up though, here: https://github.com/Kode/khamake/pull/250
Describe the bug Doing this, where colorImage and normalImage are render target.
normalImage render target appears black. To Reproduce https://github.com/BlackGoku36/MRTKhaBug
Expected behavior
Screenshots
Execution Environment: