GLSL - Fragment shader code changes not working.

   1041   2   0
User Avatar
Member
2 posts
Joined: April 2019
Offline
Hello guys,

I have problem with custom GLSL Shader. I followed, this tutorial https://notlz.wordpress.com/2018/09/09/houdini-matcap-viewport-shader/ [notlz.wordpress.com]

Problem is, when I try to change any part of the code (for example: part with setting emission a red color ), but I can not see any change in the viewport. I tried to update Nvidia studio drivers, reset everything, but nothing is really helping.

Output from Test Compile:

*** Compiled vertex shader successfully.
*** Compiled geometry shader successfully.
*** Compiled fragment shader successfully.
*** Linked successfully.

If I change any parameter in parameter panel, everything is changing as expected, but it looks like any code change is not working.
If you have any idea, I would be grateful.

Thanks

Attachments:
shader.png (712.0 KB)

User Avatar
Member
117 posts
Joined: Aug. 2017
Offline
@Nezirek I posted here working file [www.sidefx.com] ..
Conservation of Momentum
User Avatar
Member
2 posts
Joined: April 2019
Offline
Hello @cncverkstad, thanks for you response. I checked your file, but when I press play button it is not doing anything (I am assuming it suppose to do something like this: https://forums.odforce.net/uploads/monthly_2020_07/2544447.gif.ebae3583f9232849dd3380e18f6d9346.gif).

But still, I would like to know why, when I create basic template VOP provided by SideFx (File > New Asset and I create VOP node with Network Type GLSL Shader), and I change any part of the code, I can not see any change.

Thanks to everybody for any response
  • Quick Links