Labs Flowmap Visualize Viewport Shader Doesn't Work

   1278   1   1
User Avatar
Member
51 posts
Joined: May 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 - Sept. 1, 2023 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)

3D Generalist. Transforming 2D images to 3D animations.
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
User Avatar
Member
6 posts
Joined: July 2016
Offline
Adding “vec3 coat_color, float sheen_intensity, float sheen_rough, vec3 sheen_color”
into HOUassignOutputs after “coat_rough” can fix the issue.
  • Quick Links