Hi here is a question related to Material in Armory.
How can I create a material that will for example move along with the camera?
In Blender you can set formulas in the Mapping node,
that will take as input the camera.xyz
How can we achieve this in Armory?
Hi,
you may use the shader data node in the material that needs the camera data.
Here is the list of all the data you can get from this node: https://github.com/armory3d/armory/wiki/materials#available-uniforms
To get the camera location, please use _cameraPosition
in the node, set it to uniform and vec3.
3 Likes
Wow great, I will give it a try. Thanks
1 Like