From a0f7d69bee8da2f5345e7ae3e993f4bc3ba2babe Mon Sep 17 00:00:00 2001 From: Roberto Ziche Date: Thu, 13 Feb 2025 16:09:54 -0800 Subject: [PATCH] Replacement of Checker procedural The previous Checker was done in Graph Editor. This version imported Checker into LookdevX and re-authored it similarly to the other more recent procedurals. The shader uses the stdlib Checker, which does not have a Rotation option. The result was that Rotation was processed before Translation, which is the opposite of OGS. To address this, the stdlib Checker offset is not used any more, and the UV are translated and rotated before being sent to Checker. Color outside of the pattern when not fully tiled is now black to match other procedurals. Note that there are small inconsistencies in inputs and formats that will be addressed in bulk affecting multiple nodes at a later stage. Jiras already exist for that. --- .../adsklib/adsklib_legacy_defs.mtlx | 23 +++--- .../libraries/adsklib/adsklib_legacy_ng.mtlx | 81 +++++++++---------- 2 files changed, 51 insertions(+), 53 deletions(-) diff --git a/contrib/adsk/libraries/adsklib/adsklib_legacy_defs.mtlx b/contrib/adsk/libraries/adsklib/adsklib_legacy_defs.mtlx index b54e8f5d5f..bbb4104668 100644 --- a/contrib/adsk/libraries/adsklib/adsklib_legacy_defs.mtlx +++ b/contrib/adsk/libraries/adsklib/adsklib_legacy_defs.mtlx @@ -47,17 +47,18 @@ =============================================== --> - - - - - - - - - - - + + + + + + + + + + + + diff --git a/contrib/adsk/libraries/adsklib/adsklib_legacy_ng.mtlx b/contrib/adsk/libraries/adsklib/adsklib_legacy_ng.mtlx index d86b3a9faa..932a25f718 100644 --- a/contrib/adsk/libraries/adsklib/adsklib_legacy_ng.mtlx +++ b/contrib/adsk/libraries/adsklib/adsklib_legacy_ng.mtlx @@ -322,111 +322,108 @@ ================================================= --> - - - + + + + + - + - - + - + - - - - - - - - - - - + + + - - - - - - - + + + - + - + - + - + - + - + - - + + - - + + - + - + - + - + - - - + + + + + + + + + + +