Notifications
Clear all

[Closed] renderMap function

I’m try to use renderMap function to render a shader to a texture
but it always use the “Explicit Map Channel” not “ObjectXYZ”
How to force it use ObjectXYZ

http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=files/GUID-43EC5EED-F275-4325-8D99-819C51C11380.htm,topicNumber=d30e511913

2 Replies

coords.coordType = 2 on your dent material.

i.e.

_d = dent()
_d.coords.coordType = 2 

Hope it helps!

We just found the solution. Just set scale to 100, default is 1
renderMap <shader> size:[512,512] display:false fileName:<filename> filter:true scale:100