rombust
01-11-2010, 10:20 AM
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.
http://esoteric.clanlib.org/~rombust/ReleaseImages/shadow.png
* Note, the light source and shadow direction are different, this will be fixed in the future * <--- EDIT - Now fixed
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.
http://esoteric.clanlib.org/~rombust/ReleaseImages/shadow.png
* Note, the light source and shadow direction are different, this will be fixed in the future * <--- EDIT - Now fixed