Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. [Qt Quick 3D] How to upload textures array to GPU memory and get access to them in the Shaders of CustomMaterial component?
Qt 6.12 LTS is out! See what's new in the release blog

[Qt Quick 3D] How to upload textures array to GPU memory and get access to them in the Shaders of CustomMaterial component?

Scheduled Pinned Locked Moved Unsolved Game Development
quick 3dtextureshadersblending
1 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EndrII 0E Offline
    EndrII 0E Offline
    EndrII 0
    wrote on last edited by
    #1

    Hi everyone.

    Please share an example of how I can pass my texture arrays to the shaders of my CustomMaterial component. I know about the default way with TextureInput, but it's only useful for a small number of textures. I need to load all textures at once to implement blending between objects, and then, based on metadata, unload the necessary textures during shader execution.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved