0
\$\begingroup\$

I have a (GPU) Buffer that contains the World Position and Extents of Local Cubemaps aswell as a TextureArray that contains the textures of the Cubemaps. The Bounds of the Local Cubemaps are Axis Aligned, there is no rotation involved.

How do I figure out which and how much cubemaps affect a single pixel (in a pixel shader), when Extents can overlap (arbitrary deep)?
enter image description here

\$\endgroup\$
2
  • \$\begingroup\$ What do these cubemaps represent in this case? Are they reflection probes, or something else? \$\endgroup\$ Commented Aug 14, 2023 at 13:11
  • \$\begingroup\$ @DMGregory yes, they are for reflections \$\endgroup\$ Commented Aug 14, 2023 at 13:18

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.