Skip to content

Commit 7e6ba58

Browse files
committed
Removed some bottlenecks in shader building / sharing.
- for shader reuse materials from the standard library are now identified just by shader name (MeshShaderMaterials still use full code) - unique shader id strings are constructed via array.join instead of string plus - uniform and attribute locations are now cached in buildProgram (biggest one) Also some smaller optimizations and cleanups in DOF example.
1 parent c2a401f commit 7e6ba58

File tree

4 files changed

+505
-473
lines changed

4 files changed

+505
-473
lines changed

0 commit comments

Comments
 (0)