Skip to content

Can't pass a 3D integer array into a GLSL shader #580

Open
@processing-bot

Description

@processing-bot

Created by: zipCoder933

I have been working on a shader project, and I need to be able to use PShader.set() to pass a 3D array of integers into my GLSL shader, however I can't do it because Processing PShader.set() does not allow me to send multidimensional arrays of any kind

I tried all of the present set() methods that they have, and none work. It seems you only allow sending 1D arrays. I cannot find any way of sending a 3D int array as a uniform into my GLSL shader.

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions