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: 73

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 EXTERNAL: Re: EXTERNAL: Re: Writing t... Rowley, Marlin R General 0 Wed Apr 18, 2018 2:31 pm View latest post
No new posts Having issue with osgText rendering o... pixelord General 0 Mon Apr 16, 2018 4:16 am View latest post
No new posts EXTERNAL: Re: Writing texture coordin... robertosfield General 1 Sat Apr 14, 2018 5:48 pm View latest post
No new posts Writing texture coordinates on a mesh... Rowley, Marlin R General 135 Sat Apr 14, 2018 1:48 am View latest post
No new posts render to a texure bound to an FBO an... Julius Ziegler General 4 Tue Apr 10, 2018 6:49 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