diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-05-06 14:33:23 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-05-06 14:33:23 +0300 |
commit | bdfee6d8318b6dd261adbb08ea2323784f088140 (patch) | |
tree | 2b898226dfff94bbae3da8a1d79ef4a109318797 /source/blender/io/wavefront_obj/importer/obj_import_mtl.cc | |
parent | 8f6f28a0dc0ad7697863e4dcd78e85f87f9fb8db (diff) |
EEVEE: Refactor curve nodes
This patches rewrites the GPU shaders of curve nodes for easier future
development. This is a non-functional change. The new code avoids code
duplication by moving common code into BKE curve mapping functions. It
also avoids ambiguous data embedding into the gradient vectors that are
passed to vectors and reduces the size of uniforms uploaded to the
shader by avoiding redundancies.
This is needed in preparation for the viewport compositor, which will
utilize and extend this implementation.
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D14689
Diffstat (limited to 'source/blender/io/wavefront_obj/importer/obj_import_mtl.cc')
0 files changed, 0 insertions, 0 deletions