surfacemodel openGL

   2525   4   0
User Avatar
Member
35 posts
Joined: April 2012
Offline
hello everyone

i have a sphere geo in my scene when i apply texture to that using mantra surface shader i can see the texture in view port

but when i use surfacemodel shader and apply the same texture the texture appears black i had mention the texture path in openGL tab still its not showing the texture in viewport
am attching the scene file if possible please check the scene file and help me to resolve this problem

thakns in advance

Attachments:
untitled.hipnc (961.5 KB)

Ravikumar
User Avatar
Member
918 posts
Joined: March 2014
Offline
Middle click on your ‘surfacemodel’ node. You have several broken expression links. Fix those and all will work.

Andy
User Avatar
Member
35 posts
Joined: April 2012
Offline
yes i too noticed those warnings but i dont know how to fix
can u please tell me how can i correct it
Ravikumar
User Avatar
Member
918 posts
Joined: March 2014
Offline
Hey Ravibr,

I've attached a fixed scene. Basically you need to copy the relevant parameters from your surfacemodel to the OpenGL parts of the material and paste as relative reference.

Cheers,

Andy

Attachments:
untitled_119.hipnc (964.4 KB)

User Avatar
Member
35 posts
Joined: April 2012
Offline
thank you very much andy
Ravikumar
  • Quick Links