Kha
Kha copied to clipboard
Ultra-portable, high performance, open source multimedia framework.
**Describe the bug** `kha.window.notifyOnResize` provides incorrect width and height values when using Debug HTML5 / Electron **To Reproduce** Steps to reproduce the behavior: 1. Add a simple callback to `kha.window.notifyOnResize`...
**Is your feature request related to a problem? Please describe.** The number of uniforms that can be set are limited by the maximum available vertex uniform components. Using Uniform Buffer...
*added hxcpp results in the end* ### Discussed in https://github.com/Kode/Kha/discussions/1415 Originally posted by **lampysprites** April 20, 2022 Hello! I'm trying to create a mask for drawing using stencil buffer. Works...
**Is your feature request related to a problem? Please describe.** When using a `readonly image2D` uniform in a shader with `imageStore()`, there is currently no way of binding a specific...
**Describe the bug** When using a render target instead of a "regular" image as a `writeonly image2D` uniform in a compute shader on Krom (Windows), the texture is not bound...
Found myself wanting a worldSpace option when drawing polygons. Not sure if this is the best way to do it or if it fits your code style though
**Describe the bug** A fragment shader will fail to run in Linux (full build) if the shader uses "textureSize" anywhere in its code. The same shader will work fine in...
**Describe the bug** Doing this, where colorImage and normalImage are render target. ``` var g = colorImage.g4; g.begin([normalImage]); // drawing g.end(); ``` normalImage render target appears black. **To Reproduce** https://github.com/BlackGoku36/MRTKhaBug...
**Describe the bug** Passing uniform of array to shader doesn't work on metal **To Reproduce** ``` //get constant location like this a = pipeline.getConstantLocation("lights[" + i + "]"); ``` **Expected...
Hi, Not sure why, but uniforms was not passed to shader in D3D in that way ``` struct LightStruct { vec3 position; vec3 color; float power; float radius; }; const...