I need help with a live a surface shader camera projection. This video, using maya, shows exactly what I want to do in blender: https://www.youtube.com/watch?time_continue=1&v=JsnPYpDqhRk
would be thankful for any help
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityI need help with a live a surface shader camera projection. This video, using maya, shows exactly what I want to do in blender: https://www.youtube.com/watch?time_continue=1&v=JsnPYpDqhRk
would be thankful for any help
You need the UV Project Modifier.
The accepted answer suffers from distorsion because it only ensures that the projection is correct at the vertices but not in the middle of faces, which is a problem for coarse meshes. Here is a shader that precisely does camera mapping with live update:
Usage: Use the Object output of the Texture Coordinates nodes with the object being set to the projection camera. Fov, Width and Height must also match the projection camera.
Details:
A. Projection
B. Apply Field of View
C. Apply Aspect Ratio
D. Remap from [-1,1] to [0,1]