Adding shaders

Discuss existing features and requests for new features using [REQUEST] in the title
Forum rules
Discussions only around the RetroX application. Links to ROMs or request for them are forbidden. Insisting users will be banned
Ratbag
Posts: 125
Joined: Thu Jan 25, 2018 4:07 pm

Adding shaders

Postby Ratbag » Thu Feb 07, 2019 11:45 pm

I like some of the shaders on retroarch that allow curvature effect such as Lottes, but none of the retrox shaders feature it. Can I add shaders manually? Or how easy would it be to add some more?
User avatar
fcatrin
Site Admin
Posts: 1190
Joined: Tue Apr 11, 2017 6:28 pm
Location: Quilpué, Chile
Contact:

Re: Adding shaders

Postby fcatrin » Mon Feb 25, 2019 2:19 am

You can send them to me via PM and I can add them to the app
Franco Catrin
RetroX developer
Ratbag
Posts: 125
Joined: Thu Jan 25, 2018 4:07 pm

Re: Adding shaders

Postby Ratbag » Mon Mar 04, 2019 6:08 pm

I emailed shader details as I couldn't figure how to attach on a pm. Hope you can add them!
User avatar
KingPepper50
Posts: 69
Joined: Wed Apr 12, 2017 8:44 pm
Location: Buckinghamshire, England.

Re: Adding shaders

Postby KingPepper50 » Tue Mar 05, 2019 7:18 am

Ratbag wrote:I emailed shader details as I couldn't figure how to attach on a pm. Hope you can add them!


A good idea, is place all shaders files together in a folder then to compress the folder using one of the programs out there, say WinRar, WinZip, 7Zip.

then when finished, change the extension of the file created from say .rar or .zip to .txt

Email that file as a attachment, and it will go easily.

Then all Franco has to do is change the extension back to whatever you used, from .txt back to .rar or .zip.

Hope that helps. 8-)
User avatar
fcatrin
Site Admin
Posts: 1190
Joined: Tue Apr 11, 2017 6:28 pm
Location: Quilpué, Chile
Contact:

Re: Adding shaders

Postby fcatrin » Tue Mar 05, 2019 4:48 pm

I added the shaders, they are on the Beta version now, but they don't seem to work... at least to my eyes
Franco Catrin
RetroX developer
User avatar
fcatrin
Site Admin
Posts: 1190
Joined: Tue Apr 11, 2017 6:28 pm
Location: Quilpué, Chile
Contact:

Re: Adding shaders

Postby fcatrin » Tue Mar 05, 2019 4:54 pm

Posted too early, this is what I get from RetroArch:

03-05 13:41:48.013 9678 9699 E RetroArch: Failed to load GLSL shader: /data/user/0/xtvapps.retrobox.v2/retrobox.packages/shaders_glsl/crt/shaders/crt-pi-curvature.glsl.
03-05 13:41:48.013 9678 9699 E RetroArch: [GL]: Failed to initialize shader, falling back to stock.

I'll try to see what's going on
Franco Catrin
RetroX developer
User avatar
fcatrin
Site Admin
Posts: 1190
Joined: Tue Apr 11, 2017 6:28 pm
Location: Quilpué, Chile
Contact:

Re: Adding shaders

Postby fcatrin » Tue Mar 05, 2019 5:07 pm

I found the problem! The folder structure was wrong, the glsl files should have been under a "shaders" folders according to the glslp files.
Now they work!
Attachments
Screenshot_1551805238.png
Screenshot_1551805238.png (1.23 MiB) Viewed 8097 times
Captura de pantalla de 2019-03-05 14-05-17.png
Captura de pantalla de 2019-03-05 14-05-17.png (17.5 KiB) Viewed 8097 times
Franco Catrin
RetroX developer
Ratbag
Posts: 125
Joined: Thu Jan 25, 2018 4:07 pm

Re: Adding shaders

Postby Ratbag » Fri Mar 08, 2019 1:38 pm

Hey thanks. Great you got them working. I like the curvature mimicking the CRTs. Will it be release channel soon?
User avatar
fcatrin
Site Admin
Posts: 1190
Joined: Tue Apr 11, 2017 6:28 pm
Location: Quilpué, Chile
Contact:

Re: Adding shaders

Postby fcatrin » Sat Mar 09, 2019 6:24 pm

It will, I'm adding other fixes in the way
Franco Catrin
RetroX developer

Return to “Features”

Who is online

Users browsing this forum: No registered users and 6 guests