Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 10-06-2013 , 10:29 AM
Registered User
Join Date: Mar 2007
Posts: 1,055

Attribute spreadsheet - no refletivity attribute?

Hi,

I've been looking at shading in maya for the first time in years. I want to edit the reflectivity attribute of multiple shaders.

If I select a shader/shaders and open the attribute spreadsheet, I can see multiple attributes, diffuse, eccentricity, specular rolloff, even Reflectivity R,G and B - but no reflectivity. Reflectivity R,G and B is no use - what I need is the base reflectivity attribute.

Has anyone else tried this, or have any suggestions please?

thanks,

gubar

# 2 10-06-2013 , 04:59 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
It's there in the "All" tab.

You can make the reflectivity keyable if you select the shaders and run this code.

Code:
{
        string $selection[] = `ls -sl 
                -type "blinn" 
                -type "anisotropic" 
                -type "phong" 
                -type "phongE"
                -type "oceanShader"
                -type "hairTubeShader"`;
                
                for($shader in $selection){
                        setAttr -keyable true ($shader +".reflectivity");
                        print ($shader +".reflectivity" + " is now keyable\n");
                }
                print "Job done!\n";
                
}
Maya may have a more UI friendly way of doing this but I've never found it haha.user added image


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::

Last edited by Gen; 10-06-2013 at 05:17 PM. Reason: Added code
# 3 10-06-2013 , 05:16 PM
Registered User
Join Date: Mar 2007
Posts: 1,055
Hi,

so it is, thanks user added image

I could have sworn I checked there earlier...

thanks again,

g

# 4 10-06-2013 , 05:18 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
No problem user added image, sometimes Maya isn't the most intuitive.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 5 10-06-2013 , 08:06 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Apparently in 2014 the attribute spreadsheet is searchable? I haven't tried it, but that would be sweet.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads