Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use Background material in Viewport 2.0 creates transparent not opaque shadows

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
2830 Views, 4 Replies

Use Background material in Viewport 2.0 creates transparent not opaque shadows

Hello, I am trying to create a shadow catching object in Maya, just a polygon plane that receives the shadow from an object that I will be rendering with viewport 2.0. After I assign the Use Background texture to the plane and set up a spotlight casting depth map shadows, the shadows that are cast on the plane are about 50% transparent and not solid black. Does anyone know how to make the shadows more opaque?

 

Use_Background.jpg

 

Thanks again,

 

Shane

4 REPLIES 4
Message 2 of 5
doodski
in reply to: Anonymous

I don't think viewport renders the use backround feature the same as software. Using the 'use backround' in software will catch the shadow in the alpha channel and you can turn off primary invis in render stats of your casting object to isolate the shadow only. In viewport the best I could accomplish is the use backround for catcher and make the backround balack or white (probably white) and then make the object casting a solid matte black or white so (same as backround) so that you have manually created an alpha to use as a matte or stencil for shadows in comp. the opacity of shadow is controlled in the use backround and /or light options under shadow
Message 3 of 5
mspeer
in reply to: Anonymous

Hi!

 

By default, if you assign the Use Background material to the plane (don't use "Use Background" as texture input) and adding a single spotlight with default settings, the shadow displayed in viewport should be black and 100% opaque.

What could change this:

A) A second light, for example an Ambient Light.

B) Changing the shadow color of the spotlight.

Message 4 of 5
Anonymous
in reply to: mspeer

Hey there,

Thanks for the reply. Yeah the problem is if you add more lights to the
scene, even if they aren't illuminating the shadow, the shadow will become
transparent and sometimes it will just dissappear completely. It must be a
bug in viewport 2.0.

Your idea would work, I think, for ground shadows if you only wanted
shadows from one light source. I'll give it a try.

Cheers,

S
Message 5 of 5
mspeer
in reply to: Anonymous

Hi!

 

You are right. Every additional light affects the shadow. Using Light-Linking also has no effect.

Please report this problem (bug?) to Autodesk.
Help -> Speak Back -> Report a Problem

 

(Keep in mind that the background material feature is primary a software render feature for high quality compositing, although i have to admit that there might be some situations where a hardware rendering could benefit from it.

 

 

You say the shadow sometimes disappears, the Limit for simultaneous rendered lights for Viewport 2.0 defaults to a value of 8. So if you add more, some are skipped.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report