Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3054 Members - Latest Member: Ljustin770

11. February 2012, 12:57:08 PM
Xith3D CommunityGeneral CategoryGeneral Discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)shadow mapping
Pages: [1]
Print
Author Topic: shadow mapping  (Read 598 times)
abc
Just dropped in

Offline Offline

Posts: 9


View Profile
« on: 09. September 2009, 01:00:15 PM »

Hello,

I have looked at the GLSLShadowMappingTest code. I can add shadows to my own code using ShadowFactory, as in the sample code. However it has its own vertex and fragment shaders. When I want to use different shaders in my program, isn't it possible to use the ShadowFactory instance? Do I have to combine the shadow mapping related shader codes with my own glsl shader codes, in this case?

Thanks
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #1 on: 09. September 2009, 02:57:32 PM »

Yes
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic