Blender Git Loki

Git Commits -> Revision f5ef2e2

October 12, 2020, 10:19 (GMT)
Materials: support true float4 attributes in the Attribute node.

Add a new Alpha socket to the Attribute node that outputs the
fourth component of the attribute. Currently the only such
attribute is vertex color, but there may be more in the future.
If the attribute has no alpha channel, the expected value is 1.

Commit Details:

Full Hash: f5ef2e27e094a8d997538064d96c379831910a2d
Parent Commit: ba30962
Lines Changed: +564, -50

16 Modified Paths:

/intern/cycles/kernel/geom/geom_patch.h (+37, -0) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+35, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+142, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+65, -0) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+11, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+126, -15) (Diff)
/intern/cycles/kernel/shaders/node_attribute.osl (+8, -2) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+91, -17) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+7, -0) (Diff)
/intern/cycles/render/attribute.cpp (+1, -1) (Diff)
/intern/cycles/render/geometry.cpp (+4, -0) (Diff)
/intern/cycles/render/nodes.cpp (+22, -9) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+4, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_attribute.glsl (+5, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021