Results 1 to 2 of 2

Thread: SpotLight Example

  1. #1
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default SpotLight Example

    Introducing a new example for ClanLib 2.2 SVN "Spot Light"

    (Note, this example should still work with ClanLib 2.1.1)



    A few bugs remain.
    1) "Specular" does not seem to change the light in any way
    2) Changing the pitch of the spotlight gives unexpected results at certain positions (steep gradients on the landscape). I guess there is a mathematics problem somewhere in the shader

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Finally fixed.


Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •