Comments (3)
It looks like you are debugging your app with spector js and spector tries to read some data from luma.gl and does not see what it expected?
Not sure how to help you debug this.
from luma.gl.
@ibgreen
It occurs when clear is called, as shown in the following code
import { Framebuffer, Renderbuffer, Texture2D, clear } from '@luma.gl/webgl';
// other render pass
clear(this.gl, {
color: true,
stencil: true,
// depth: false,
});
The error was raised when the depth parameter was not specified, and I noticed that when stencil was specified without depth, clearStencil had a value of null
if (stencil) {
clearFlags |= GL_STENCIL_BUFFER_BIT;
if (depth !== true) {
parameters.clearStencil = depth;
}
}
from luma.gl.
OK understood, yes it looks like a bug.
from luma.gl.
Related Issues (20)
- example/webgpu error
- Cannot set a value of false, or 0 for uniform on version 9.0.0-alpha.15
- The "attribute" property of the model constructor is assigned to DEFAULT_RENDER_PIPLINE_PROPS.
- `Desired upload requires more bytes` at certain texture dimensions HOT 1
- If "dimension" is "2d-array", 'WEBGLTexture' will not be initialized correctly. HOT 4
- GLTFInstantiator mutates input data HOT 1
- fp64 shader emulation not working under Apple M1 Max HOT 10
- Some glTF aren't being displayed HOT 1
- picking shader error "global variable initializers must be constant expressions" HOT 1
- Typescript module name pollution of 'utils' HOT 1
- animation loop doesn't initialize if there are streaming videos on the same page HOT 2
- error in webgpu compute example
- Tracker: v9 GLTF issues HOT 4
- Picking not working with uniform block HOT 2
- ES Modules and `"moduleResolution":"NodeNext"` in v9 HOT 8
- Clean up Shader Module getUniforms semantics
- @luma.gl/shadertools regular expression for getShaderName unable to resolve the correct shader name HOT 1
- Tracker: v9.1
- `Model` does not respect `'line-strip'` `topology` in `geometry` prop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luma.gl.