Results 1 to 4 of 4

Thread: Shadow Example

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

    Default Shadow Example

    Introducing the new Shadow Example

    Demonstrating basic shadows using GLSL

    At time of writing (11 Jan 2010), this example only works on the ClanLib v2.2 SVN.

    This example uses the new class "CL_Quaternion" and additional functions to the CL_Mat4f class to aid in converting from eular angles to quaternions.



    * Note, the light source and shadow direction are different, this will be fixed in the future * <--- EDIT - Now fixed
    Last edited by rombust; 02-05-2010 at 09:47 AM.

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

    Default

    Fixed (and updated the above screen shot)

    The shadows are now in the same direction as the light source

    Also, the CL_Quaternion class was not required for the example (To keep it simple)

  3. #3
    Lesser Knight
    Join Date
    Jun 2011
    Location
    Shanghai in China
    Posts
    53

    Default

    It's interesting.
    Make excellent games,make happly life.

  4. #4
    Serf
    Join Date
    Jul 2011
    Location
    17 Halpin Ln, Ridgefield, CT 06877
    Posts
    1

    Default

    Its looking interesting post. GSLV is looking nice supporting tool for shadow effects. Thanks for sharing. Keep updating.

Similar Threads

  1. ClanLib 2.2 Shadow Example
    By rombust in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 01-09-2010, 05:04 PM
  2. Feature Request - Shadow Direction and Color
    By loken in forum Novashell Game Creation System
    Replies: 3
    Last Post: 01-12-2007, 08:10 PM

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
  •