Babylon.js
How to get camera position in shader?
Questions
camera
,
material
Heaust-ops
November 18, 2024, 7:45am
2
If you’re using a Shader Material, you can pass it through a uniform like so : O
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
My vertex shader line w = position.x*position.x always gives me a constant value
Questions
shader
,
shaders
2
761
December 8, 2022
Some questions about material plugin custom shader to change position.y
Questions
6
536
September 13, 2023
How to get an arcRotateCamera position?
Questions
10
1593
October 14, 2019
Is there a full list of variables available in shaders anywhere?
Questions
7
636
November 20, 2019
Screen position to world position
Questions
3
272
November 13, 2023