lunadigital / btoa

A community-developed Blender add-on for the Arnold renderer.
GNU General Public License v3.0
134 stars 9 forks source link

Node Request: Float to Integer #204

Closed AlexeyAdamitsky closed 11 months ago

AlexeyAdamitsky commented 2 years ago

image

Output Integer

Mode

Input Float. Default is 0. Using this type of field to manually control the value. blender_Ivvqi0FHod

AlexeyAdamitsky commented 2 years ago

The node works as expected. Let's clean up some UI.

image

  1. The output socket should be integer socket type (lime green). image

  2. Default is 0. Let's use the same controls as with Float node, but keeping float input socket.

https://user-images.githubusercontent.com/64398828/199536196-d1e5daeb-908e-4f66-a1aa-f95a018c2644.mp4