Skip to content

Add pink Standard Surface override baselines - #39

Merged
ppenenko merged 1 commit into
metashade/devfrom
metashade/standard-surface-pink
Aug 3, 2026
Merged

Add pink Standard Surface override baselines#39
ppenenko merged 1 commit into
metashade/devfrom
metashade/standard-surface-pink

Conversation

@ppenenko

@ppenenko ppenenko commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

Companion PR for metashade/metashade Standard Surface override pipeline (metashade/metashade#203) and pink rename (metashade/metashade#207).

Adds GLSL baselines for the pink diagnostic override of ND_standard_surface_surfaceshader — a proof-of-concept that validates the Metashade override pipeline works end-to-end for surfaceshader nodes.

What changed

  • Submodule bump: contrib/metashade updated to metashade main, picking up the Standard Surface pipeline and the standard_surface_pink rename
  • New baselines: contrib/tests/metashade_ref/libraries/standard_surface_pink/ with the generated GLSL impl and .mtlx for the pink SS override
  • Fix .env: METASHADE_MTLX_PYTEST_REF_DIR was missing /libraries suffix

Depends on

@ppenenko
ppenenko changed the base branch from main to metashade/dev August 3, 2026 00:04
@ppenenko
ppenenko requested a review from Copilot August 3, 2026 00:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds committed reference baselines for a Metashade “hot pink” diagnostic override of ND_standard_surface_surfaceshader, and updates CI/local environment configuration so Metashade-related reference comparisons point at the correct metashade_ref/libraries directory.

Changes:

  • Added new MaterialX + GLSL baseline files for the standard_surface_pink override.
  • Updated the main GitHub Actions workflow to run contrib/tests/test_render.py, Metashade’s own tests/mtlx/, and contrib/tests/test_render_metashade.py as distinct pytest steps.
  • Fixed .env to include the missing /libraries suffix for METASHADE_MTLX_PYTEST_REF_DIR.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
contrib/tests/metashade_ref/libraries/standard_surface_pink/mx_metashade_standard_surface_surfaceshader_genglsl_impl.mtlx Adds the .mtlx implementation entry that points to the generated GLSL override implementation.
contrib/tests/metashade_ref/libraries/standard_surface_pink/mx_metashade_standard_surface_surfaceshader_genglsl_impl.glsl Adds the committed GLSL baseline implementing the “pink” diagnostic surfaceshader output.
.github/workflows/main.yml Renames contrib test step labels and adds a dedicated pytest run for test_render_metashade.py.
.env Updates METASHADE_MTLX_PYTEST_REF_DIR to target contrib/tests/metashade_ref/libraries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Bump metashade submodule to pick up the Standard Surface override
pipeline and the standard_surface_pink rename.

Add GLSL baselines for the pink diagnostic override of
ND_standard_surface_surfaceshader.

Fix .env: METASHADE_MTLX_PYTEST_REF_DIR was missing /libraries.

Signed-off-by: Pavlo Penenko <pavlo.penenko@autodesk.com>
@ppenenko
ppenenko force-pushed the metashade/standard-surface-pink branch from b04c67f to 83ae6e8 Compare August 3, 2026 00:58
@ppenenko
ppenenko requested a review from Copilot August 3, 2026 00:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@ppenenko
ppenenko merged commit 772b45b into metashade/dev Aug 3, 2026
37 checks passed
@ppenenko
ppenenko deleted the metashade/standard-surface-pink branch August 3, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants