0
Completat

Allowing Remap Range node to be fed values from outside

Lionel Gallat fa 11 anys updated by Freya Holmér (Developer) fa 11 anys 5
Hello, the new Remap Range node is great, but I was wondering if there was a way to plug in values/properties (accessible from the inspector), rather than having to manually change the Remap Range node's settings and recompile the shader to see the changes...

Answer

Answer
Completat
This has now been implemented in the coming Beta 0.20!
"Remap Range" has been renamed to "Remap (Simple)".
The new "Remap" node has inputs for i/o min/max.

I second this.  I think it would also be useful for creating value, vector2, 3, 4 nodes, which currently require you to manually type in values. 
I see what you mean Lionel, but, what do you mean Chris?
I mean a bit like being able to construct Vector constants from inputs rather than numeric values.  I understand Append can be used to do this, and constants are no-clutter, but it's rather annoying to have to create 2 append nodes if I want to be able to "splat" or "swizzle" a Vector3.
I can't really see how that's related to this request though, but feel free to open a new feature request, for a multi-input append node :)
You can use Component mask for swizzling
Answer
Completat
This has now been implemented in the coming Beta 0.20!
"Remap Range" has been renamed to "Remap (Simple)".
The new "Remap" node has inputs for i/o min/max.

Fantastic! Thank you Joachim!