Blender Git Commit Log

Git Commits -> Revision 6b041ad

Revision 6b041ad by Kévin Dietrich (master)
August 18, 2021, 19:20 (GMT)
Cycles: use object coordinates when generated coordinates are missing

This modifies the attribute lookup to use object coordinates if no
generated coordinates are found on the geometry.

This is useful to avoid creating and copying this attribute, thus saving
a bit of time and memory.

Reviewed By: brecht

Differential Revision:

Commit Details:

Full Hash: 6b041ad3d025e5b8020d648405c8bc3c63560f8b
Parent Commit: b8ecdbc
Lines Changed: +51, -1

2 Modified Paths:

/intern/cycles/kernel/shaders/node_texture_coordinate.osl (+3, -1) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+48, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021