How to use GameMakerStudio2 shaders for both Haxe and Haxeflixel?

Just trying to port vairous shaders from GameMakerStudio 2, How do i replicate the code or theyre incompatible?

Since they both use GLSL, they would be mostly compatible. You probably will have to modify the parts which are not implemented or implemented differently from GMS2.

It would help if you could post an example of a glsl file that GameMakerStudio 2 compiles it’s shaders from (typically the .vsh and .fsh files). Also, which engine or Haxe codebase are you trying to port to?

They said HaxeFlixel, but yes, the rest is important

1 Like