@hgy29 has been hard at work on something pretty amazing!!!
Looks like Gideros may soon be getting unified shaders (GLSL, HLSL & Metal) - you code them in Lua!!!
Proof of concept working...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
https://deluxepixel.com
Comments
i forgot, which type of shader is supported by which platform? my glsl shaders do work on windows/mac/android so why do i need the other two?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: SinisterSoft
Likes: MoKaLux
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
(and does the uwp export rely on qt? i'd be really happy to get rid of that dependence.)
Fragmenter - animated loop machine and IKONOMIKON - the memory game
btw does the mac export use qt?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
Error C2567 unable to open metadata in 'c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.25.28610\lib\x86\store\references\platform.winmd', file may have been deleted or moved
Error LNK1257 code generation failed
Fragmenter - animated loop machine and IKONOMIKON - the memory game
You will see a folder that is there, copy it as this name:
c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.25.28610
Then it will work. It's just Microsoft (for some crazy reason) decide to get rid of the older files when they add the newer ones.
https://deluxepixel.com
https://deluxepixel.com
Nowadays everybody uses visual shader editors.
Likes: MoKaLux
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I haven't played with shaders yet but that would be best for me, for example https://www.shadertoy.com/view/ltj3zR
Copy the code and run it?
But I guess in the end, we would still need to learn shaders programming.
With lua shaders, we just reuse our lua lexer and turn the lua opcodes into C code for HLSL,GLSL or MSL. It is lightweight, and it allows you to write your own shaders without the need to learn C and GLSL,HLSL,MSL.
Likes: MoKaLux, SinisterSoft
Likes: SinisterSoft
Exception thrown at 0x00007FFFDC21A799 in giderosgame.Windows.exe: Microsoft C++ exception: Platform::FailureException ^ at memory location 0x000000A5C15FD740. HRESULT:0x80004005 Unspecified error
WinRT information:
stack traceback:
sources/shaders.lua:1: in main chunk
(luac): in main chunk
are there other plugins that qt supports but uwp does not?
also, can one make a simple 'exe' from an uwp project?
-then i can evaluate if it's worth to convert my shaders to the new lua shader language (when it's available)
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I think in-app payments are not yet working, ads have been removed for UWP as Microsoft have removed support for them.
Your shaders will be worth converting because otherwise, you will have to make Metal versions (for iOS and OSX) as Apple has depreciated OpenGL/GLSL for their systems.
https://deluxepixel.com
btw what does application:getDeviceInfo() return for uwp?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://wiki.giderosmobile.com/index.php/Writing_Shaders
Likes: keszegh, MoKaLux
https://deluxepixel.com
https://wiki.giderosmobile.com/index.php/Lua_Shaders
https://deluxepixel.com