Labs Flowmap Visualize Viewport Shader Doesn't Work

   2109   2   1
User Avatar
Member
66 posts
Joined: 5月 2019
Offline
Hey guys (HIP attached), when I enable viewport shader option AND turn ON the viewport option "Display materials on objects", I get this error to the console (not sure how to debug it):

vec3, vec3, vec3, vec3, vec3, float, float, float, float, float, float, float, float, vec4, vec3, float, float, int, int);"
/obj/geo1/flowmap_visualize1/shopnet1/shop_flowmap_shader1: Linking failed.
LINK[/obj/geo1/flowmap_visualize2/shopnet1/shop_flowmap_shader1]:
Fragment info
-------------
0(216) : error C3002: call to undefined function "void HOUassignOutputs(vec3, vec3, vec3, vec3, vec3, vec3, float, float, float, float, float, float, float, float, vec4, vec3, float, float, int, int);"
/obj/geo1/flowmap_visualize2/shopnet1/shop_flowmap_shader1: Linking failed.


I've recreated almost the same setup as in the docs:



However, only the vertex color option works on my end:



Expected result:




I assumed that this is because of the
$SIDEFXLABS/misc/flowmap/flowmap_visualize.jpg
path and tried to change it to
opdef:../..?flowmap_visualize.jpg
but it doesn't work. The reason I tried this is because I saw in a couple of videos that this option is used instead of embedded image 🙂

I've also tried to replace SHOP with MAT context (changing contents of "flowmap_visualize1" node) but didn't work out (maybe missed something).

Thank you for taking a look.
Edited by AnimGraphLab - 2023年9月1日 03:49:38

Attachments:
labs_flowmap.png (4.0 MB)
flowmap_viz_bug.hiplc (289.4 KB)
labs_flowmap1.png (3.4 MB)
labs_flowmap2_expected.png (739.8 KB)

Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
User Avatar
Member
6 posts
Joined: 7月 2016
Offline
Adding “vec3 coat_color, float sheen_intensity, float sheen_rough, vec3 sheen_color”
into HOUassignOutputs after “coat_rough” can fix the issue.
User Avatar
Member
29 posts
Joined: 3月 2015
Offline
It has been fixed a couple of months ago
  • Quick Links