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 

override the texture with the gl_fragColor of fragment shader and save it


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


Joined: 26 Oct 2018
Posts: 127

PostPosted: Sun Apr 14, 2019 8:31 am    Post subject:
override the texture with the gl_fragColor of fragment shader and save it
Reply with quote

Hi,
Is it possible to override the texture with the gl_fragColor of fragment shader and save it to disk?

For example, The shadow of static Model.In 3dmax,The shadow 's render to second texture with new texture coordinate.and then,blend the textures when using.

I think It's different with Render To Texture.

And I does't reuse the texture in this situation.

I have no hint about this idea,and have no noun to google.

If you have any experience about this,plz tell me some hints.
Thank you!

Cheers,
Yu
Back to top
View user's profile Send private message
GarfieldPig
Appreciator


Joined: 26 Oct 2018
Posts: 127

PostPosted: Sun Apr 14, 2019 11:00 am    Post subject:
I solve it out,It's called Texture Bake
Reply with quote

Hi,
I seem to get the hint.
In OpenGL Reference,the Image Load Store and Shader Storage Buffer(SSBO) support it.

Thank you!

Cheers,
Yu
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 Layered rendering with a geometry shader AnyOldName3 General 8 Tue May 14, 2019 11:25 pm View latest post
No new posts 回复: Is it possible to load text... GarfieldPig General 118 Fri May 10, 2019 4:32 pm View latest post
No new posts Is it possible to load texture withou... robertosfield General 9 Thu May 09, 2019 8:29 pm View latest post
No new posts Is it possible to load texture withou... DrPowers General 0 Thu May 09, 2019 3:30 pm View latest post
No new posts Is it possible to load texture withou... DrPowers General 0 Thu May 09, 2019 3:29 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