Jump to content

preview the vex shader in viewport


Recommended Posts

hello guys , could anyone say how to preview the shader in viewport which is created in material shader builder (vop). i know,if i have texture input, i can create a OGL texture parameter outside and can link it with base colour map by promoting.

 

But if I have created a shader with inline node by VEX code and i connected it with diffuse colour in surfacemodel node. In render it showing the proper thing, HOW COULD I SEE IT IN VIEWPORT.

 

i tried to link the diffuse parameter with ogl Diffuse parameter but no use !!!!!!

post-12314-0-95187600-1450105300_thumb.p

Link to comment
Share on other sites

No, you'll need to render with mantra to see the result of a procedural texture.

 

You can speed things up by setting up a preview rop with lower quality settings, less lights, less objects etc, and bypass connections so that the checker goes straight to Cf rather than through the surface material, but ultimately you need to be viewing through either an IPR render view or the render region in a viewport.

 

As I understand it the main problem is that vex for shaders can't easily be auto-ported into a GL viewport shader. If you _really_ want to get a preview in the viewport you could look into the baking features that have been much improved in H15, but it'll be slower than doing an IPR session.

  • Like 1
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...