SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Need some help with shaders?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 05-04-2011, 05:02 PM   #1
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need some help with shaders?

Hello,

I have a mountain I made using soft modification tool and then triangulating the geometry and applying a Normals->Harden Edges and I am trying to apply solid color shaders to specific parts (brown for my mountain, white for snow, green for my grass) so I created two lambert hypershader thingys (as seen in my attachment) and I am trying to apply the green to the grass faces, and the brown to the other faces but I can't figure out how to do it.

My steps are.
I lasso select all the faces for the mountain then try and drag the lambert brown texture onto them and it doesn't work.

My errors (I think), I went Color->Apply Color before trying this which turned them from a see through box into a gray box with lighting from my light source, but now I can't apply any kind of a shader or anything?

Any help!?

Thanks!
Attached Thumbnails
Click image for larger version

Name:	help.jpg
Views:	126
Size:	517.2 KB
ID:	46613  
dubcanada is offline   Reply With Quote
Old 05-04-2011, 06:08 PM   #2
Gen
Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,499
Thanks: 16
Thanked 645 Times in 567 Posts
Default

The "Color>Apply Color" operation is for hardware rendering, it will show up in the viewport or if you use the hardware renderer but not with any software renderer. Go back to "Apply Color" and choose the "remove color" option this time and it should be back to normal.

Honestly, instead of trying to apply separate shaders to faces (which will result in razor sharp transitions between colors) It would be better if you used the 3D paint tool so you can paint where snow, grass, dirt is supposed to be then save that out to paint over in Photoshop, or maybe you'll get it as detailed as you want right inside Maya.

1.Assign a new shader to the model, lambert if you don't want to deal with hardware highlights.

2. Assign a file texture node to the color slot of the shader and leave the file path blank.

3. Select the model and go to the "Rendering" menu set. And under the "Texturing" menu choose the 3D paint tool>options.

4. In the option box, under "File Textures" press the "Assign/Edit Textures" button and set the resolution and file format for the texture, hit "Assign/Edit Textures".

5. Paint away and "Save Textures".
__________________
- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
Gen is offline   Reply With Quote
Old 05-04-2011, 06:11 PM   #3
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your suggestion, however I am trying to duplicate http://cias.rit.edu/~jrs9486/assets/images/biome.jpg that style which is why I want razor hard edge transitions between the colors.

My apologies I should have included this in the original post.

I'm still trying to figure out why I can't assign a selection of faces a particular shader and the rest another shader. If I click on the brown lambert shader and then select all my faces it turns them brown but when I click elsewhere to unselect them it turns them back green. Perhaps I need to remove the green and maybe apply it to specific faces?

Last edited by dubcanada : 05-04-2011 at 06:13 PM.
dubcanada is offline   Reply With Quote
Old 05-04-2011, 06:48 PM   #4
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
Thanks: 4
Thanked 298 Times in 288 Posts
Default

hey, thats really nice.

so did you select the faces then right click and go to assign existing shader?

i just tried it and it works for me. I triangulated the same way you did and i think the problem you might find is that it looks too even. You may find that you need to add more model detail to get a better look. (if this is a test ignore me.)
honestdom is offline   Reply With Quote
Old 05-04-2011, 07:13 PM   #5
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I managed to figure it out, I applied the green to everything and it overlayed the brown for some reason so I just deleted everything and did it again and it worked perfectly.

How would you suggest I create the mountains? I'm not sure if the soft mod tool does a good enough job.



If my first run, excuse the terrible lighting.

- Steve

Last edited by dubcanada : 05-04-2011 at 07:26 PM.
dubcanada is offline   Reply With Quote
Old 05-04-2011, 07:36 PM   #6
Gen
Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,499
Thanks: 16
Thanked 645 Times in 567 Posts
Default

The Sculpt Geometry Tool should be less painful.
__________________
- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
Gen 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Objects turning black Gen Technical Issues 3 07-03-2011 12:00 AM
mib_color_mix connections ? Falott Mental Ray 6 06-02-2011 07:23 AM

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.