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 

Creating depth texture in pre render pass and using it in final rendering


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
wernerM
User


Joined: 06 Feb 2013
Posts: 92

PostPosted: Fri Mar 16, 2018 2:31 pm    Post subject:
Creating depth texture in pre render pass and using it in final rendering
Reply with quote

Hi all.

I'm working on converting my application to deferred rendering.
Due to the complexity of the fragment shaders I'm not able to precalculate
everything necessary for the fragment shader into textures.
Some time ago I found an example of calculating the depth texture in a
simple
pre rendering pass and using this depth texture in the final render pass.
If I remember well the example used a glcopy command and disabled
clearing of the depth texture.

Unfortunately I cant find this example any more.

Is there anybody on the list who has hints for my project?

Thanks in advance.




------------------
Post generated by Mail2Forum
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 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 massive text rendering OmegaDoom General 3 Mon Jul 09, 2018 12:14 pm View latest post
No new posts osgOcean - Render to Texture Camera rob_ewbank osgOcean [osgOcean] 3 Wed Jul 04, 2018 11:27 am View latest post
No new posts List render bins krikr42 General 2 Mon May 21, 2018 7:01 am View latest post
No new posts DXT texture compression urbanchaos General [forum] 14 Tue May 08, 2018 12:13 pm View latest post
No new posts How do I create a graphics context on... srinivas General 3 Tue Apr 24, 2018 11:40 am 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