Goombert
|
|
Posted on: August 27, 2013, 04:31:04 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Shaders are now available as a resource and can be used. They are compatible with Game Maker's and can currently only be saved and loaded under EGM, GMK does not support them. GMX format will be finished soon enough I have a lot on my plate. Youtube Video: https://youtu.be/cZixbLHaroIWARNING! You have to update in order to use them, and you must update both LateralGM, the plugin, and ENIGMA using git in order to use them, if you update only one of these then the others will break. If you have installed using the Windows ENIGMA Portable you are advised to redownload as bug fixes have been applied to those of you with MinGW issues and it also now contains an ini settings file to control checking for java and other things. Automatic updating will be available at a later point in time. The shader functions are all documented and available on the Wiki. https://enigma-dev.org/docs/Wiki/Shader_FunctionsCurrently only GLSL shaders are supported, but the function API is tailored for glsl programming and can currently only be used in OpenGL. The Game Maker version of the functions are simply wrapped around each graphics systems implementation so that there can exist an API which caters to only one shading language. These shaders can greatly help improve the performance of your games by offloading strenuous work onto the GPU where they properly belong, unlike Game Maker we also provide you the option to dynamically compile and link shaders at runtime as shaders are properly intended and encouraged by hardware manufacturers to be used. There is a nice website for scripting and seeing real time results of shaders as well, they also have many example shaders. http://www.kickjs.org/example/shader_editor/shader_editor.html#There is the GLSL sandbox as well which I thought was very cool. https://www.shadertoy.com/
|
|
« Last Edit: December 31, 2020, 09:37:56 pm by Goombert »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #1 Posted on: August 27, 2013, 12:56:01 pm |
|
|
"Guest"
|
Nice Robert! This is Epic! :-)
|
|
|
Logged
|
|
|
|
|
polygone
|
|
Reply #3 Posted on: August 27, 2013, 03:19:26 pm |
|
|
Location: England Joined: Mar 2009
Posts: 794
|
Shaders still not working. Will investigate later. I think it was something with shader compilation error.
How do you know shaders aren't working? Have you got it compiling now?
|
|
|
Logged
|
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
|
|
|
Goombert
|
|
Reply #4 Posted on: August 27, 2013, 04:30:05 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Shaders still not working. Will investigate later. I think it was something with shader compilation error. Harri, all you have to do is make sure you have the very latest shit and just open that EGM and run it.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #5 Posted on: August 27, 2013, 08:46:40 pm |
|
|
"Guest"
|
just tried it. I have the latest version of ENIGMA, LGM, Java, and the compile graphics target was set to OpenGL 3.0 when I pressed the test run green arrow button after loading your hardware performance evaluator EGM file, the java runtime crashed thus dumping out of LGM and ENIGMA, which essentially prevents a me from both test run and compile my game. Until this bug is fixed, I have no use for shaders in LGM and ENIGMA. I hope this will addressed and solved soon, but no sweat, I know you guys *cough* (Robert) can handle this hands down. :-)
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #6 Posted on: August 27, 2013, 10:21:46 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
TKG, can you try again with the latest zip that I just uploaded? If the error persists please provide your output_log.txt
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|
Goombert
|
|
Reply #9 Posted on: August 28, 2013, 07:58:30 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yep, see, I don't know, you guys are not listening when I keep telling you to redownload 50 times XD
|
|
« Last Edit: August 30, 2013, 02:43:36 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #10 Posted on: August 30, 2013, 11:53:26 am |
|
|
"Guest"
|
Would it be possible to convert a gmk, which doesn't support shaders into an egm that does support shaders? I think it would be nice to have such a feature.
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #11 Posted on: September 01, 2013, 05:41:54 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yes, this should be possible now TKG after the bugs I just fixed this morning, get the new JARs from the LGM topic and patch it yourself or just redownload the portable ZIP. Also, go to File->Preferences and set your theme to native and restart, I can't stand looking at the default Swing theme. @Harri, give me a day or two and I am going to hook up the shader compiler to output the feedback in LGM's progress window and to the console or output log as Josh has advised me to do.
|
|
« Last Edit: September 01, 2013, 05:56:58 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #12 Posted on: September 01, 2013, 08:39:16 am |
|
|
"Guest"
|
Glad to hear it dang you guys are quick at this stuff.
|
|
|
Logged
|
|
|
|
time-killer-games
|
|
Reply #13 Posted on: September 01, 2013, 12:32:30 pm |
|
|
"Guest"
|
How do I do it? I opened the gmk/gm81, exported the egm, opened the egm and still no shader resource folder...
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #14 Posted on: September 01, 2013, 01:29:52 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Hold on, I am working on it, my fix did not solve the GMK problem, give me a little while.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|