english Sivu saatavilla vain englanninkielisenä.

Blender Git Statistics -> Branches -> temp-angavrilov-material-uniforms

"Temp-angavrilov-material-uniforms" branch

Total commits : 5
Total committers : 1
First Commit : October 12, 2020
Latest Commit : October 12, 2020


Commits by Date

DateNumber of Commits
October 12, 20205

Committers

AuthorNumber of Commits
Alexander Gavrilov5

Popular Files

FilenameTotal Edits
nodes.cpp2
geometry.cpp2
svm_attribute.h2
osl_services.cpp2
blender_object.cpp2
geom_primitive.h2
gpu_codegen.c2
geom_triangle.h2
geom_subd_triangle.h2
node_shader_attribute.c2

Latest commits Feed

October 12, 2020, 19:03 (GMT)
tweak attrs: fix UV attribute output type.
October 12, 2020, 10:19 (GMT)
Materials: support the custom uniform attributes in Eevee.

The attributes are provided to the shader via a UBO indexed with
resource_id, similar to the existing Object Info data. Unlike that,
however, it is necessary to maintain a separate buffer for every
requested combination of attributes.

This is done using a hash table with the attribute set as the key,
as it is not inconceivable that technically different materials may
use the same set of attributes. In addition, in order to minimize
wasted memory, a sparse UBO pool is implemented, so that chunks that
don't require that set of data don't have to allocate any memory.

Differential Revision: https://developer.blender.org/D2057
October 12, 2020, 10:19 (GMT)
Materials: add custom object properties as uniform attributes.

This patch allows the user to type a property name into the
Attribute node, which will then output the value of the property
for each individual object, allowing to e.g. customize shaders
by object without duplicating the shader.

In order to make supporting this easier for Eevee, it is necessary
to explicitly choose whether the attribute is varying or uniform
via a dropdown option of the Attribute node. The Cycles design
seems to intend to treat all attributes equally, so the Blender
interface uses a name prefix that can't be entered with keyboard.

Differential Revision: https://developer.blender.org/D2057
October 12, 2020, 10:19 (GMT)
Cycles: rename uchar4 attribute accessors from 'float4' to 'uchar4'.
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.

MiikaHweb - Blender Git Statistics v1.06
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020