Append one or more shaders in yml files
2 posters
Page 1 of 1
Append one or more shaders in yml files
Hello there!
I would like to know if it is possible to declare 2 or more shaders in the yml file, which we use to define a RetroArch shader to be seen from within ES interface, so we can select and use it from there. My will is to use 2 shaders at the same time, appending one to another, as RetroArch natively allows us.
Thank you very much for your support!!
Have a nice day!
I would like to know if it is possible to declare 2 or more shaders in the yml file, which we use to define a RetroArch shader to be seen from within ES interface, so we can select and use it from there. My will is to use 2 shaders at the same time, appending one to another, as RetroArch natively allows us.
Thank you very much for your support!!
Have a nice day!
sanviler- Messages : 2
Date d'inscription : 2024-11-21
Re: Append one or more shaders in yml files
Hello
Firstly, have you try to make it works from Retroarch ?
If yes, you can create a slang, then call it simply with a new yml file
Firstly, have you try to make it works from Retroarch ?
If yes, you can create a slang, then call it simply with a new yml file
getupor- Admin
- Messages : 1420
Date d'inscription : 2020-10-04
Re: Append one or more shaders in yml files
Hi,
As stated in my message, RetroArch natively supports shader chains, using the "append" feature. It also allows appending shader containers (slangp and glslp). That said, I know I can make a new slangp, which contains every passage of the 2 or more shaders I need and then calling it from a dedicated yml file. This is what I am currently doing.
My question was about having a syntax, in the yml file, to have 2 or more shaders being chained. I tried already declaring multiple shaders like this:
shader: myshaderFolder/myShader_1
shader: myshaderFolder/myShader_2
but it only loads the first entry.
I also tried something like:
shader0: myshaderFolder/myShader_1
shader1: myshaderFolder/myShader_2
but this won't even work on ES, since the shader entry in the gui won't even appear
As stated in my message, RetroArch natively supports shader chains, using the "append" feature. It also allows appending shader containers (slangp and glslp). That said, I know I can make a new slangp, which contains every passage of the 2 or more shaders I need and then calling it from a dedicated yml file. This is what I am currently doing.
My question was about having a syntax, in the yml file, to have 2 or more shaders being chained. I tried already declaring multiple shaders like this:
shader: myshaderFolder/myShader_1
shader: myshaderFolder/myShader_2
but it only loads the first entry.
I also tried something like:
shader0: myshaderFolder/myShader_1
shader1: myshaderFolder/myShader_2
but this won't even work on ES, since the shader entry in the gui won't even appear
sanviler- Messages : 2
Date d'inscription : 2024-11-21
Re: Append one or more shaders in yml files
If you try to save your shaders from Retroarch, it should create a unique .slang file. Then, you should be able to call it with the .yml ?
If you drop an example, I could try when I got free time
If you drop an example, I could try when I got free time
getupor- Admin
- Messages : 1420
Date d'inscription : 2020-10-04
Similar topics
» [RESOLVED] I need info about shaders
» Shaders for ES / GLSL to FX
» Update 3.1, problems with shaders in CPS-2
» [RESOLU] pas de shaders pour la PSX
» [5.1] Shaders on supermodel always reset
» Shaders for ES / GLSL to FX
» Update 3.1, problems with shaders in CPS-2
» [RESOLU] pas de shaders pour la PSX
» [5.1] Shaders on supermodel always reset
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum