Software Developer based in Toronto, Canada.
- Toronto, Canada
- in/william-siuhang
Pinned Loading
-
shaders-basic
shaders-basic 1class Shaders{
2static basic_vertex() {
3return `
4void main() {
5gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.0);
-
Uniform data types for Three js <-> ...
Uniform data types for Three js <-> shaders 1switch (uniform.type)
2{
3case 'b':
4case 'bool':
5case 'boolean':
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.