Custom shader injection
Insert a few lines in the middle of the shader of the base material, leave the light and shadow calculation intact, and let the grass shake or shine in the freshly made.
- Category
- Materials & art styles
Technical terms · Material.onBeforeCompile (shader injection) · ShaderChunk (#include <begin_vertex> 등) · Custom uniforms