0
Fixed

Dot product doesn't take component count into account when generating the node previews

IzzySoft 10 years ago updated by Freya Holmér (Developer) 10 years ago 6
Admin Edit: Changed title. Original title and post below:

Is there a reason why the 'Slider' and 'Value' would make the 'Dot Product' preview panel look different?

ex:

Answer

Answer
Fixed
This is now fixed in Beta 0.19!
It shouldn't be different!
Unless there are some spooky precision errors in there. How does the rest of the node tree look to the right?
https://www.dropbox.com/s/zfkf62itsdhm7gn/HSL_Stri...   :)

Everything work just right in the resulting shader, just bugs me that Dot Product preview wont shows something slightly different. 
Why are you doing a dot product between two values, by the way? That's generally used for vectors - you could simply use a multiply node in this case.

That said, the issue remains, and is a weird one. I'll have a look!
Good question.. I saw someone use it to Shrink a gradient, so i started to use it too. :D
However, it did show what the issue was :)
The code for the dot product is wrong in the node previews! I'll get this fixed for 0.19!
Answer
Fixed
This is now fixed in Beta 0.19!