You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Material Maker version:
tested on itch alpha 14a2 and #1975
OS/device including version:
EndeavourOS
NVidia 3070 Ti 565
Issue description:
Arc Pavement node shows correct patterns when hovered in 2d inspector
when any of the output ports are connected to another node I get the node's compute shader code and the following error:
line is different from 14a2 to #1975 but the code breaks on 86: float cornerangle = 0.85/acount+0.25*PI; in the compute shader or the corresponding line in addons/material_maker/nodes/hbao.mmg: 36 "\tfloat cornerangle = 0.85/acount+0.25*PI;",
Steps to reproduce:
plug any of the output ports from the arc pavement node into a node that's linked to the output
The text was updated successfully, but these errors were encountered:
I greped for other uses of the PI constant and anisotropic_kuwahara.mmg declares it in the node so presumably that's the fix here. I've not committed to the repo before but I'd be happy to copy over the pi declaration into arc pavement if that'd be helpful.
PI and TAU declarations should be removed from the nodes (well, not in the case of anisotropic Kuwahara, since it's declared locally) and declared global when generating compute shaders.
Material Maker version:
tested on itch alpha 14a2 and #1975
OS/device including version:
EndeavourOS
NVidia 3070 Ti 565
Issue description:
Arc Pavement node shows correct patterns when hovered in 2d inspector
when any of the output ports are connected to another node I get the node's compute shader code and the following error:
line is different from 14a2 to #1975 but the code breaks on
86: float cornerangle = 0.85/acount+0.25*PI;
in the compute shader or the corresponding line in addons/material_maker/nodes/hbao.mmg:36 "\tfloat cornerangle = 0.85/acount+0.25*PI;",
Steps to reproduce:
plug any of the output ports from the arc pavement node into a node that's linked to the output
The text was updated successfully, but these errors were encountered: