Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Loading Shaders #12

@tepGithub

Description

@tepGithub

Hi Alex,
I'm currently working on loading the shaders with GLS3D. In theory GLS3D should take GLSL and convert it to AGAL under the hood.

I just want to confirm with you the steps I needed to do:

  1. Run glsl2agal to get JSON output file (done offline, through glsl2agal)
  2. Load JSON file
  3. Extract information regarding uniforms
  4. Extract agal asm code
  5. Run AGALMiniAssembler on agal asm code
  6. Create Program3D and upload the AGAL asm code

In your todo list, you wrote about integrating glsl2agal, were you thinking to run the conversion process at run-time? How easy is it to integrate it (how many files I need to integrate)? I can try doing it if it's not that hard.

-tep

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