SHADERed icon indicating copy to clipboard operation
SHADERed copied to clipboard

Add support for sampler settings to more types of textures.

Open Oortonaut opened this issue 3 years ago • 1 comments

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

Oortonaut avatar Dec 05 '21 04:12 Oortonaut

Checked the code and looks fine to me

MaKiPL avatar Dec 22 '21 13:12 MaKiPL