Comments (3)
Does removing the canvas created by lglTracer from the DOM work when you switch to WebGLRenderer?
renderer.domElement.remove();
If we want to release very detailed resources, we need to record the use of each used Texture and Framebuffer, and release them through gl.deleteTexture and gl.deleteFramebuffer,which will not be implemented in the current version.
from lgl-tracer-renderer.github.io.
I haven't tested the scene of switching between WebGLRenderer and LGLTracerRenderer before, so there is indeed a problem of resource release, v1.0.5 I will test it and add a "dispose" method. thank you for your feedback!
from lgl-tracer-renderer.github.io.
The new version updates the dispose method, will release the texture, FrameBuffer, UniformBuffer resources used.
renderer.dispose();
from lgl-tracer-renderer.github.io.
Related Issues (20)
- Can i use alphaMap? HOT 2
- Is it possible to save hdr reflections but change the background to any color or texture? HOT 3
- Is there dof support?
- Env map seems upside down when using exrloader
- Seams in repeating textures HOT 3
- support for KHR_texture_transform extension ? HOT 1
- How to update materials without rebuilding HOT 3
- Black splotches when using denoising HOT 2
- Material is rendered incorrectly HOT 4
- Feature request HOT 3
- Temporal denoise no effect in V1.1 HOT 1
- Some bugs since the last versions HOT 1
- Vertex colors are not supported HOT 2
- Ability to restore original materials when switching back to WebGLRenderer HOT 6
- Supported/unsupported light and environment types HOT 9
- [Docs] Docs should mention that instancing isn't supported HOT 3
- Support gltf MeshOpt extension ? HOT 3
- Will this project ever be open source? HOT 2
- How to use a QuadLight? HOT 2
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 lgl-tracer-renderer.github.io.