Releases: RenaudRohlinger/three-material-editor
Releases · RenaudRohlinger/three-material-editor
Automatic uniforms GUI
features
- [Uniform GUI] - Support uniforms for shaders (sampler2D, vec2, vec3, float, color)
- [Uniform GUI] - Support onBeforeCompile uniforms on threejs materials
- [Uniform GUI] - Support uniforms postprocessing library
- [Uniform GUI] - Support react-three/postprocessing library
- [Uniform GUI] - Support postprocessing from three/examples/jsm/postprocessing
Fix
- Improved performances: Refactor active material management
- Improve shadertoy support
- Bump dependencies
Postprocessing
Features :
- Support jsm/example postprocessing + errors handler
- Support the postprocessing lib + errors handler
- Support the react-postprocessing lib + errors handler
- Added information in the menu if the program is used by multiple meshes
- Auto fold all shader chunks
- Troika Text 3D support
Fix :
- Tree shake and env flag issue in production
- Improved the performances by updating customProgramCacheKey only on update and not in the RAF
- Fix troika derived materials
- Now forwards the uniforms from onBeforeCompile materials.
- Sometimes the error lines offset was not correct.
Vanilla :
let composer = new EffectComposer( renderer );
useEditorComposer(composer)
React :
<EffectComposer ref={useEditorComposer()}>
...
</EffectComposer>