Home Coding, Scripting, Shaders
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

Maxscript to Change base color map if it has a texture

Nels
node
Offline / Send Message
Nels node
Hi, I have a script that changes all base color in the scene, but I need to change base color only if it has bitmap assigned.
Can anybody help with this script

Here is the script
(
for each in sceneMaterials do 
(
if selection.count != 0 do
if classOf each == PhysicalMaterial then 
each.base_color = color 255 255 255 255
)



Thanks in advance.

Replies

Sign In or Register to comment.