Blender Git Commit Log

Git Commits -> Revision bf9904e

Revision bf9904e by Clément Foucault (master)
March 13, 2019, 00:20 (GMT)
Fix T59501: Eevee doesn't use integer node sockets

This is a hacky fix. We just convert the int as a float and use it as such.

This works ok for small int but will not be correct for numbers greater
than 4194303.

Correct support would require deeper change for UBO creation and socket
conversion.

Commit Details:

Full Hash: bf9904ec8018db89a8775ef651fadb2ea52457f0
Parent Commit: af0ab15
Lines Changed: +16, -1

4 Modified Paths:

/source/blender/gpu/intern/gpu_codegen.c (+2, -0) (Diff)
/source/blender/nodes/intern/node_exec.c (+2, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+10, -0) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021