Menu

#1 Bug with sky shader parametrisation

closed
nobody
System (2)
9
2008-07-06
2006-12-03
No

When parametrised, the shader makes the absorving half of the dome completely transparent when sun is under the horizon.

Discussion

  • Jesús Alonso 'Kencho'

    • priority: 7 --> 9
     
  • Jesús Alonso 'Kencho'

    Logged In: YES
    user_id=1006564
    Originator: YES

    There's a patch attached to this message, so that when merged with Revision #16 reproduces the bug. For unknown reasons it doesn't work correctly when the params are declared in CaelumSystem, but it does when they're declared in the shader source code.

     
  • Jesús Alonso 'Kencho'

     
  • Jesús Alonso 'Kencho'

    Logged In: YES
    user_id=1006564
    Originator: YES

    Indeed, it works well if you define the atmosphereInvHeight through the Ogre API and not the shader source code.

     
  • Leonard Crestez

    Leonard Crestez - 2008-07-06

    Logged In: YES
    user_id=1490073
    Originator: NO

    Obsolete

     
  • Leonard Crestez

    Leonard Crestez - 2008-07-06
    • status: open --> closed
     

Log in to post a comment.