Remap node
Posted: Tue Jan 21, 2020 7:28 am
Let's say I have a gradient with values from 0-10 and use remap node with input and output min0 max1. Is it going to limit the output gradient between 0-1?
Show your work, get help, participate in development
https://forums.luxcorerender.org/
I believe it would be best, if it could be made as an optional on/off checkbox?B.Y.O.B. wrote: ↑Tue Jan 21, 2020 11:06 am Yes, because I implemented it with clamping: https://github.com/LuxCoreRender/LuxCor ... ap.cpp#L83
However, the formula performing the actual remapping might work without clamping: https://github.com/LuxCoreRender/LuxCor ... ils.h#L331
I can remove the clamping if you want.