Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Spot Light problem

Help
2007-07-16
2013-04-25
  • animator333
    animator333
    2007-07-16

    http://www.pantheon-studios.in/walter/spotlight.rar

    This is simple test of shadow by using a spotlight shader.

    shadow map is getting rendered. No warning & no errors.
    beauty.rib is getting rendered. but total blackout.

    for the same scene I rendered shadowmap by using air and then render using pixie.
    Got a warning about shadowmap but scene got rendered. Attached image.

    There is one more problem. The sphere is not casting shadow on plane.

    Some help....

    Thanks

     
    • Okan Arikan
      Okan Arikan
      2007-07-23

         Hi Animator,

         It seems like you're setting the "samples" parameter to 0 in your shader (maya_spotlight). This parameter must be set to something greater than zero, otherwise it will not look up the map.

         Okan