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

Extend the Texture asset type to support 3D data #903

Merged
merged 2 commits into from
Nov 22, 2020
Merged

Extend the Texture asset type to support 3D data #903

merged 2 commits into from
Nov 22, 2020

Commits on Nov 22, 2020

  1. Extend the Texture asset type to support 3D data

    Textures are still loaded from images as 2D, but they can be reshaped
    according to how the render pipeline would like to use them.
    
    Also add an example of how this can be used with the texture2DArray uniform type.
    bonsairobo committed Nov 22, 2020
    Configuration menu
    Copy the full SHA
    6f80ba8 View commit details
    Browse the repository at this point in the history
  2. remove almost all 2d-specific methods from Texture, and make the size…

    … field use the Extent3d type
    bonsairobo committed Nov 22, 2020
    Configuration menu
    Copy the full SHA
    57e3575 View commit details
    Browse the repository at this point in the history