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

Add support for sampler settings to more types of textures. #269

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Oortonaut
Copy link

In particular, texture(3d), rt, image(3d), and cube maps. This includes min/mag settings and wrap settings as appropriate. Access the settings with the new "Sampler" subtree in the properties list.

Tested round trip load/save operation with Image3D and live updating of sampler settings. Desk checked for other types of objects.

This pipeline uses a compute shader to fill an Image3D with a gradient rgb = xyz. This pixel shader is sampling that texture along u, v, 0.5.
image

And with different sampling
image

In particular, texture(3d), rt, image(3d), and cube maps. This includes min/mag settings and wrap settings as appropriate. Access the settings with the new "Sampler" subtree in the properties list.

Tested round trip load/save operation with Image3D and live updating of sampler settings. Desk checked for other types of objects.
@MaKiPL
Copy link

MaKiPL commented Dec 22, 2021

Checked the code and looks fine to me

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