Martin Valigursky

Results 271 comments of Martin Valigursky

At the moment probably just use drawQuadWithShader, that's probably the easiest. To avoid per frame allocations, I typically extract the insides of it and keep those objects persistent. But soon...

I commented on PR. I'd prefer we do not use GL directly in XR.

I see what you're saying. This allows to change order of updates of components that are added on the same entity. How about order of update for unrelated scripts on...

possibly related: https://forum.playcanvas.com/t/model-animation-stuck-when-using-trigger/35681

I suspect this is related to the fact the scene grab texture contains all viewports, and so the shader code that samples from this textures need to only sample the...

Event is more generic .. as other object can listened to destroy event of different object - so maybe it was done to have the better (more generic) solution, even...

Personally I'd love to have a destroy method as a convenience for the users.

Closing this as the solution does not seem needed. Please update the description / change the PR based on the feedback if this is not correct.

Yep, this is not supported at the moment. What needs to happen for this to work: - in WebgpuRenderTarget, when samples > 1 and a depthBuffer is passed in, we...

I agree with @Maksims , this would be great to improve when developing in VSCode / `npm run develop` - both engine and examples errors are hard to get callstack...