CamMapScale (OSL)

For 3ds max specifically – an OSL shader to scale back an image to the original input size when using a Camera Map Per Pixel.
The Camera Map Per Pixel projection map scales the input image to the size of the render output. So if you want to project a square image, you’d have to set your render resolution to square as well. Pretty annoying, yes? This OSL shader will scale your image back so square really means square!

cammapscale_rndr

The UI in VRay:
cammapscale_ui

Page:
http://www.rensheeren.com/blog/osl-cammapscale/
Download link:
http://www.rensheeren.com/osl/camMapScale_tex_v001.osl

Enjoy! 🙂

Leave a Reply

Your email address will not be published.