OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

How to cast shadows from different light sources simultaneously


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
hbaqueiro
Newbie


Joined: 02 Jan 2019
Posts: 2

PostPosted: Tue Jan 15, 2019 12:53 pm    Post subject:
How to cast shadows from different light sources simultaneously
Reply with quote

Hi,

I am quite new to OpenSceneGraph, this is actually my first post. I am trying to put different lights in a scene and have them cast shadows simultaneously. The problem is that every time I create a new osgShadow::ShadowMap for a light, the previous light stop casting shadow. I suspect that this has something to do with index or something, the same way every light has to have a setLightNum(x) defined.

Do you have any clue on how to fix this behavior?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts How to cast shadows from different li... hbaqueiro General [forum] 0 Tue Jan 15, 2019 1:05 pm View latest post
No new posts How to cast shadows from different li... hbaqueiro General [forum] 0 Tue Jan 15, 2019 1:01 pm View latest post
No new posts How to cast shadows from different li... hbaqueiro General [forum] 0 Tue Jan 15, 2019 12:55 pm View latest post
No new posts How to cast shadows from different li... hbaqueiro General [forum] 0 Tue Jan 15, 2019 12:45 pm View latest post
No new posts How to cast shadows from different li... hbaqueiro General [forum] 0 Tue Jan 15, 2019 12:44 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP