Skip to content

Passing a cube map to a shader. #195

@roek2

Description

@roek2

I'm trying to create a scene with environment mapping but I can't find any references for passing a cube map into a shader with xml3d. Usually a cube map is made of six individual images that are loaded for the samplerCube but i cant find any example of loading anything more than a single texture. Are sampler cubes supported? Are there any examples of this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions