SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / I supose they are called shaders?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 12-01-2003, 01:54 AM   #1
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Question I supose they are called shaders?

Browsing through the shader downloads. And I see this, and i am wowed. Is a shader like a texture? How do i apply them? I would love to be able to apply this.
Ultragames is offline   Reply With Quote
Old 12-01-2003, 02:30 AM   #2
mark_wilkins
Registered User
 
mark_wilkins's Avatar
 
Join Date: Jan 2003
Posts: 161
Thanks: 0
Thanked 1 Time in 1 Post
Default

A shader is the chunk of software (or in Maya it's a node type) that defines how to calculate the look of your object.

Shaders can either use texture maps to determine what the camera sees or they can calculate the look based on the shape of the geometry alone.

The latter kind of shader is usually called "procedural," because it uses software to implement a procedure for calculating the look of the object rather than looking at a texture map that you've painted by hand.

In Maya, a Lambert shader is applied to every surface by default, which makes all the default-shaded surfaces look like dull gray plastic unless you start tweaking color attributes for the shader node or applying texture maps. There are other shader node types that ship with Maya as well, most of which are used as a foundation for adding texture maps.

These shaders you've found are implemented as networks of Maya shading nodes. All you have to do to use them is to use File > Import to get them into your scene and then add the objects to the correct shading groups in Hypershade. (A shading group is a set of objects that share the same shader.)

Maya also allows developers to make new shading node types by using the API to build a plug-in. This requires that you code your shaders in C++ rather than by hooking nodes together, but such shaders are much faster to render.

-- Mark
__________________
Mark R. Wilkins
author of MEL Scripting for Maya Animators
www.melscripting.com
mark_wilkins is offline   Reply With Quote
Old 12-01-2003, 02:41 AM   #3
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
and then add the objects to the correct shading groups in Hypershade. (A shading group is a set of objects that share the same shader.)

I have seen Hypershade in tutorials i've skimmed. I have no clue what it is or how to get there. Can you tell me the procedures needed to apply this shader. (Only to certain objects of course.)

Thanks!!
Ultragames is offline   Reply With Quote
Old 12-01-2003, 03:08 AM   #4
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

The Hypershade is under Window > Rendering Editors > Hypershade.

I have a Hypershade tutorial at my site, if you're interested. Link's in the sig.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 12-01-2003, 03:52 AM   #5
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default YAY

I havn't tackled the Hypershader yet. but i found out another, SIMPLE way to apply the shader. Right Click > Materials > Assign Existing Material.
Ultragames is offline   Reply With Quote
Old 12-01-2003, 04:54 AM   #6
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

That's true. You can also assign New materials there as well.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 12-01-2003, 05:20 AM   #7
mark_wilkins
Registered User
 
mark_wilkins's Avatar
 
Join Date: Jan 2003
Posts: 161
Thanks: 0
Thanked 1 Time in 1 Post
Default

For a single shading node that works. For a shading network like in those downloadable shaders, I'd use Hypershade to make sure that the right things are getting connected.

-- Mark
__________________
Mark R. Wilkins
author of MEL Scripting for Maya Animators
www.melscripting.com
mark_wilkins is offline   Reply With Quote
Old 12-01-2003, 05:24 AM   #8
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

very true
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 12-01-2003, 07:38 PM   #9
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Yes. You should deffinently learn all there is to know about hypershape if you're going into texturing soon. For instance, as you said, you can assign textures to objects by right-clicking and choosing materials>assign new material. Well, let's say you have 100 boxes in a scene that you want to have a checker texture. You could go to each and every box and right-click>materials>blah,blah,blah and adjust the attributes window for every box, but hypershade makes it 1000 times easier. If you open hypershade, you can create any shader you want and add anything you want to that shader. In this case, you would open hypershade and click a lambert material over in the box on the left. As you can see, a lambert appears on the bottom section of hypershade. Double click it and assign a checker texture to it by clicking the checkered box to the right of the colour slider. Select all 100 of your boxes, then in the top section of hypershade right click the checkered lambert shader and choose assign material to selection. It's better to have 1 checker lambert assigned to 100 boxes rather than 100 checker lamberts assigned individually to 100 boxes. See? This is the purpose of the grand exalted hypershade.
__________________
www.Darkware3D.com

Last edited by Darkware : 12-01-2003 at 07:41 PM.
Darkware is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.