Jump to content

Question about Shaders


ParaToxic
 Share

Recommended Posts

Hey I have a question. I would like to learn more about shaders and would like to write some surface shaders. Now I see the shader framework works with FragData[0,1,2] and not only with FragColor like in the Post processing part.

 

But what is done with this FragData data ?? I see some stuff like the diffuse and normal data is stored in Fragdata[0] , specular and gloss in FragData[1] and I think this is something what is seperated for the lighting part of the framework.

 

But what exactly is done with the FragData ???

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...