- Home /
Why is the ShaderGraph SubGraph giving different results with same value?
So inside the subgraph if I put in a value, I get the correct result previewed by the SubGraph like so:
However, if I use this SubGraph in a main ShaderGraph and plug in the exact same value, I get a different result.
Altering the value of .3099 that produces this incorrect result to .309901 will return it to expected results, but I need this to work consistently with the values put in. I can't have a 00 input be treated as a 99 input, which is what appears to be happening, but it's only happening occasionally in the main graph. Some values like .009900 will treat the final 00 as 00 while others treat it as 99 like with .309900.
correct-in-subgraph.png
(47.9 kB)
incorrect-in-maingraph.png
(39.2 kB)
Comment