You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
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:
Run glsl2agal to get JSON output file (done offline, through glsl2agal)
Load JSON file
Extract information regarding uniforms
Extract agal asm code
Run AGALMiniAssembler on agal asm code
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
The text was updated successfully, but these errors were encountered:
How about instead of loading it offline, we load GLSL from a string, convert it to AGAL, create a shader and a program with it glCreateShader/glCreateProgram?
Yeah, in theory, we can do that and probably it's good to do that since we are actually emulating open gl layer, so it should accept GLSL and we can convert it dynamically to AGAL under the hood. However, I am currently busy with other things.. and we need to integrate glsl2agal project...
If you are free, you are welcome to do so :)
Note: I have implemented some functionality for shaders but it's not complete yet; so I haven't checked it in.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
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
The text was updated successfully, but these errors were encountered: