Announcement

Collapse
No announcement yet.

Shadow colors using Maya spotlights (bug)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shadow colors using Maya spotlights (bug)

    I'm trying to use colored shadows for a shadow ID pass using the matteShadow render element, for example a spotlight with a red shadow (RGB Shadow color:0,1,1).

    If the spotlight is set to a luminance equal to 1, everything renders as expected. If the luminance is set to >1, the shadow color no longer remains red, as all the channels in the matteShadow are increased additively by the degree of luminance >1. For example, if my light intensity is set to 2.0, the shadow color will be: 2,1,1.

  • #2
    Hm, I'm not getting quite the same effect - for me the matteShadow element never goes beyond (1,1,1). It is calculated as (white-shadowedColor/unshadowedColor). As you increase the light intensity, the unshadowedColor is increased proportionally, but the shadowedColor stays the same - the final effect is that the result is pushed towards white.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Well I've built a test scene that replicates the problem, I'm emailing it to you, as I'm not sure how to attach files in these forums. Build is: 2.10.01, revision 20096

      // Edit: nevermind, I figured it out

      Originally posted by vlado View Post
      Hm, I'm not getting quite the same effect - for me the matteShadow element never goes beyond (1,1,1). It is calculated as (white-shadowedColor/unshadowedColor). As you increase the light intensity, the unshadowedColor is increased proportionally, but the shadowedColor stays the same - the final effect is that the result is pushed towards white.

      Best regards,
      Vlado
      Attached Files
      Last edited by Graham Houston; 29-05-2012, 09:49 AM.

      Comment

      Working...
      X