ScriptSpot

Forum topic · General Scripting

Mapbutton that stores image

By JokerMartini · 2011-06-09

Description

Is there a way to make a mapbutton similar to that of the diffuse button in any shader.
The functionality that I want is to be able to drag the button and paste it into another channel.

Like when making materials you can click the diffuse button and browse for the image you want and then you can drag the button onto the self illumination and it will paste the same image into the self illumination bitmap slot, and at the same time allowing for users to copy or instance the map.

Comments (3)

you need custom control

Anubis · 2011-06-10

looks possible but... not with max script, quite good sdk know-how needs to wrote a custom control for that purpose.

Drag n Drop

JokerMartini · 2011-06-09

Drag and drop is exactly what I want. I want to make a button which holds a 2d falloff map and from there you can drag and drop the 2d texturemap anywhere you want to.

Is that possible?

drag-n-drop

Anubis · 2011-06-09

That works well in Material and TextureMap plugins only. Maybe you trying something else?