Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NME Texture block: Add support for 2DArrayTexture #13598

Merged
merged 2 commits into from
Mar 8, 2023
Merged

NME Texture block: Add support for 2DArrayTexture #13598

merged 2 commits into from
Mar 8, 2023

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Mar 7, 2023

See https://forum.babylonjs.com/t/how-can-i-load-rawtexture2darray-in-nme/38809

This PR adds a layer input to the Texture block:

image

The input is not used if the texture is not a 2DArrayTexture. If it is, the layer value is read from the layer input if provided, else a default value of 0 is used.

@Popov72 Popov72 added new feature nme Node Material Editor labels Mar 7, 2023
@bjsplat
Copy link
Collaborator

bjsplat commented Mar 7, 2023

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Mar 7, 2023

@sebavan sebavan enabled auto-merge March 7, 2023 15:39
@sebavan sebavan merged commit 726c9d5 into BabylonJS:master Mar 8, 2023
@Popov72 Popov72 deleted the nme-texture2darray branch April 20, 2023 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature nme Node Material Editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants