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 

MRT with trunk version


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
vincent.honnet@oktal.fr
Newbie


Joined: 23 Sep 2010
Posts: 8

PostPosted: Mon Nov 29, 2010 9:58 am    Post subject:
MRT with trunk version
Reply with quote

Hi,

I checked out today the trunk of osgPPU and could see that the MRT seems not working anymore.
My code was working with osgPPU 0.4.0, the only differences are the allocation of the output images of the output textures of my InOutUnits. One of my shaders writes in gl_FragData[0], gl_FragData[1] and gl_FragData[2]. 0 is used for the rendering in the next unit, 1 and 2 are redirected as input textures to the concerned input UnitTextures.

A colleague could read in former post that the MRT could not work correctly in this version of PPU. Is that really the case ?

Vincent

...


Thank you!

Cheers,
Vincent
Back to top
View user's profile Send private message
vincent.honnet@oktal.fr
Newbie


Joined: 23 Sep 2010
Posts: 8

PostPosted: Thu Dec 02, 2010 1:41 pm    Post subject:
Reply with quote

Hi,

ok, I found the trick. I must set the output depth to the number of output textures: setOutputDepth(3);

Vince

...


Thank you!

Cheers,
Vincent
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] 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 Version 3.5.6 osgText::Text bounding ... dcfennell General 0 Tue Jan 31, 2017 5:40 pm View latest post
No new posts glsl version 130 not supported (and r... Bruno Oliveira General 9 Sat Oct 22, 2016 6:22 pm View latest post
No new posts Qt version for OSG3.4.0 umadevi2193 General 4 Mon Oct 17, 2016 8:08 am View latest post
No new posts Get openGL version with the Help of osg smdr2670 General 2 Thu Aug 04, 2016 8:19 pm View latest post
No new posts Community Feedback Required : What mi... robertosfield General 3 Wed Jun 08, 2016 4:58 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