How do I convert Image with NaN values?


(Sus Unn) #1

This warning message says I need to convert rendered rectangle with NaN (Not a Number) value to 1. I… can’t quite understand this. How do I do that?


(Ingo Weyrich) #2

They have been already converted to 1.


(Frédéric Devernay) #3

Does the input to Transform2 already contain NaNs? It happens eg if you divide by zero in a Shadertoy node


#4

A clamp node may come in handy after the node which is creating problems. eg. mostly shadertoy nodes. in clamp node check/enable all four min-max boxes will do the math and render will be same as viewport.