Skip to content

Conversation

@jstone-lucasfilm
Copy link
Member

This changelist adds implementations of hextiledimage and hextilednormalmap to OSL, making these nodes available across all shading languages that MaterialX supports.

The new OSL implementations closely follow the existing GLSL versions, with minor improvements to take better advantage of OSL channel indexing and loops.

Additionally, the standard_surface_onyx_hextiled.mtlx example has been moved to Examples/StandardSurface, making it more visible to users of the MaterialX Web Viewer and other tools.

This changelist adds implementations of `hextiledimage` and `hextilednormalmap` to OSL, making these nodes available across all shading languages that MaterialX supports.

The new OSL implementations closely follow the existing GLSL versions, with minor improvements to take better advantage of OSL channel indexing and loops.

Additionally, the `standard_surface_onyx_hextiled.mtlx` example has been moved to `Examples/StandardSurface`, making it more visible to users of the MaterialX Web Viewer and other tools.
@jstone-lucasfilm
Copy link
Member Author

Here's a new set of reference quality GLSL/OSL render comparisons, including the comparison of standard_surface_onyx_hextiled.mtlx, using the latest work in this PR:

MaterialXRenderTests_12_22_2025_GitHub.pdf

This changelist updates the OSL implementation of hextiling to use the native texture coordinate derivatives in OSL, as suggested by Masuo Suzuki.
@msuzuki-nvidia
Copy link
Contributor

LGTM!

@jstone-lucasfilm
Copy link
Member Author

Here's a new set of reference quality GLSL/OSL render comparisons, using the latest updates to this PR:

MaterialXRenderTests_01_07_2026_GitHub.pdf

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.

3 participants