Jump to content

Optimize Vex Shading - OpenGL implimentation


Entropy

Recommended Posts

Hi community 

For my experiments I needed to write bake the diffuse lighting in the scene to the vertex colors in real time
i just started using vex and i need your opinion on how to optimize the vex code

i am thinking also to implement the same functionality with opengl 
how to write to a texture the vertex id and vertex color and read them back as color attributes ?
i have done something similar is the past with hlsl and virtools
it is most important that the obj should no contain any uvs

any advise ?
thanks
 

Shading_Vex.hipnc

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.

×
×
  • Create New...