Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't generate unnecessary uniforms and texture reads in BaseMaterial3D
This improves performance by reducing the number of texture reads performed per material, especially when triplanar is enabled. This also makes the generated shader code significantly shorter depending on the features used. TODO: - Fix MSDF font rendering (check `texture_albedo` dependencies and `textureSize`).
- Loading branch information