RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Append one or more shaders in yml files

2 posters

Go down

Append one or more shaders in yml files Empty Append one or more shaders in yml files

Post by sanviler Today at 10:33 am

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!
sanviler
sanviler

Messages : 2
Date d'inscription : 2024-11-21

Back to top Go down

Append one or more shaders in yml files Empty Re: Append one or more shaders in yml files

Post by getupor Today at 11:09 am

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


Append one or more shaders in yml files Admin4
getupor
getupor
Admin

Messages : 1420
Date d'inscription : 2020-10-04

Back to top Go down

Append one or more shaders in yml files Empty Re: Append one or more shaders in yml files

Post by sanviler Today at 12:05 pm

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

sanviler
sanviler

Messages : 2
Date d'inscription : 2024-11-21

Back to top Go down

Append one or more shaders in yml files Empty Re: Append one or more shaders in yml files

Post by getupor Today at 12:54 pm

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


Append one or more shaders in yml files Admin4
getupor
getupor
Admin

Messages : 1420
Date d'inscription : 2020-10-04

Back to top Go down

Append one or more shaders in yml files Empty Re: Append one or more shaders in yml files

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum