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

UDIM: Use default LOD values in anisotropic mode #2816

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

JGamache-autodesk
Copy link
Collaborator

Loading a MaterialX stage with cubic texture sampling does not work with UDIMs.

The default range for LOD values in OpenGL is -1000 to 1000.
The default range for Dx11 is 0 to 16.
The minLOD parameter in MSamplerStateDesc is unsigned int.

Leave the values as initialized by the API to prevent breaking the UDIM texture queries.

The default range for LOD values in OpenGL is -1000 to 1000.
The default range for Dx11 is 0 to 16.

The minLOD parameter in MSamplerStateDesc is unsigned int.

Leave the values as initialized by the API to prevent breaking the UDIM
texture queries.
Copy link
Collaborator

@vlasovi vlasovi left a comment

Choose a reason for hiding this comment

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

Looks good

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Jan 11, 2023
@JGamache-autodesk
Copy link
Collaborator Author

@seando-adsk Ready for merge.

@seando-adsk seando-adsk added the vp2renderdelegate Related to VP2RenderDelegate label Jan 11, 2023
@seando-adsk seando-adsk merged commit 09546ac into dev Jan 11, 2023
@seando-adsk seando-adsk deleted the gamaj/remove_invalid_lod_values branch January 11, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge vp2renderdelegate Related to VP2RenderDelegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants