Announcement

Collapse
No announcement yet.

Scene Scale and Low Poly Shadows

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

  • Scene Scale and Low Poly Shadows

    So this is bothering me for some time now.
    I work in centimeters in Maya. When I have low poly objects in my scene, like a default sphere with the size of 1 my shadows look correct. When I scale the sphere by 100 my shadows get those polygon shaped shadows, which isn't useful at all.
    What is the correct way to get rid of this?
    I don't get this behaviour in arnold.

    Shadow bias in the light setting?
    Click image for larger version  Name:	scale_100.jpg Views:	0 Size:	70.1 KB ID:	1145374​​​ Click image for larger version  Name:	scale_1.jpg Views:	0 Size:	78.0 KB ID:	1145375
    If yes, is there any global parameter, because I don't want to change this on every light source seperately?

    Thanks for help!
    Last edited by doppelgaengerdigital; 13-04-2022, 01:12 AM.

  • #2
    Originally posted by doppelgaengerdigital View Post
    Shadow bias in the light setting?!
    Most likely.

    Originally posted by doppelgaengerdigital View Post
    If yes, is there any global parameter, because I don't want to change this on every light source seperately?!
    No, but you can use a script. Select all VRayLights and run this MEL script (where you may adjust the "0,02" value as you wish):

    Code:
    {
    string $nodes[] = `ls -selection`;
    for ($node in $nodes)
    {
    string $shapes[] = `listRelatives -shapes $node`;
    setAttr ($shapes[0] + ".shadowBias") (0.02);
    }
    }
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment

    Working...
    X