Code improvements + Mix node #30

Merged
Bogdan Nagirniak merged 18 commits from BogdanNagirniak/blender:matx-code-improvements into matx-export-material 2023-09-22 18:23:13 +02:00

18 Commits

Author SHA1 Message Date
5dd3634987 Merge branch 'matx-export-material' into matx-code-improvements 2023-09-22 19:15:36 +03:00
aaa31cdd9d Fixed review comments 2023-09-22 18:49:20 +03:00
14a381c024 Reverting back mistake changes 2023-09-22 15:12:40 +03:00
9bcb2ff0fb Changed order of getting shader type in MaterialOutput: SurfaceShader starts first. Adjusted Add, Mix shaders. 2023-09-22 15:03:24 +03:00
3ea023ba4a Fixing rotations 2023-09-22 14:48:26 +03:00
c713a21851 Simplified code in Mapping and Vector rotate nodes.
make format
2023-09-22 14:07:15 +03:00
4ca83bc08f Angle fixes 2023-09-22 13:27:31 +03:00
01d67d34fe Added rotate(), normalize() to NodeItem. Adjusted code.
Added/fixed comments.
2023-09-22 13:09:12 +03:00
f9af89b40a Merge branch 'matx-export-material' into matx-code-improvements 2023-09-22 11:30:37 +03:00
8ab7eb8f24 Reverted some changes 2023-09-21 23:41:36 +03:00
834ee030b6 Code improvements in math functions 2023-09-21 23:13:54 +03:00
a901f806d7 Code improvement in BSDFPrincipled 2023-09-21 22:52:54 +03:00
dae8c96e20 Moving BSDFPrincipled to use mix() function 2023-09-21 20:31:20 +03:00
273bb4d0e1 More correct implementation of clamp() 2023-09-21 20:19:27 +03:00
51cfa8f267 Simplified node_shader_tex_wave.cc 2023-09-21 20:02:53 +03:00
e90a7fa7f7 Implemented mix node 2023-09-21 19:44:11 +03:00
4739e384ca Fixed dotproduct, mix. Added length, to_vector. 2023-09-21 17:11:36 +03:00
276bbbd554 NodeItem: extract -> operator[], blend() -> mix() + added shaders support.
Code improvements in some nodes.
2023-09-21 14:29:39 +03:00