Guides
Articles that provide step-by-step instructions for common use cases and tasks when using Triplex and React Three Fiber.
How To Fix Mesh Shadows After Using a Vertex Shader
Displacing vertices with a GLSL vertex shader can make for fantastic results but it's very easy to leave out a crucial step to ensure shadows remain correct.
Replacing Leva With Component Props
Leva is a popular library to wire up controls to your components. With Triplex you can remove your glue code and instead use component props.
See Your Component In Different States Using Component Controls
With Triplex your component props become controls you can modify during development enabling to easily see your component over different states without writing extra code.
Using GLSL Shaders With Triplex
GLSL shaders are small programs that are ran on the GPU. When imported they have their include statements resolved and are then available as a string for you to forward on to Three.js.