Hi everyone. Is there a way to use a different set of a camera’s matrices to a shader? Want to use the matrices from a stationary camera instead of a camera that Im orbiting around with. The only way I can think of is manually passing them one by one as uniforms but that didn’t work after attempting it. thanks for any help in advance
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to pass camera.projectionMatrixInverse as uniform to the vertex shader | 1 | 718 | August 16, 2022 | |
What is the best way to receive and cast shadows on ShaderMaterial | 0 | 472 | March 12, 2021 | |
Multiple ShaderPass scene and camera | 0 | 470 | July 12, 2021 | |
Anyone have any luck getting shader materials to respond to fog? | 8 | 3045 | July 19, 2020 | |
Basic custom shader + camera | 4 | 4506 | October 8, 2019 |