Create GENERAL_CREATING_CUSTOM_SHADERS

New shader documentation
This commit is contained in:
gannon345 2023-07-16 14:59:01 -06:00 committed by GitHub
parent ce58916051
commit d81be3ca23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,23 @@
&nbsp;&nbsp;<img src="https://raw.githubusercontent.com/JustEnoughLinuxOS/distribution/dev/distributions/JELOS/logos/jelos-logo.png" width=192>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[![Latest Version](https://img.shields.io/github/release/JustEnoughLinuxOS/distribution.svg?color=5998FF&label=latest%20version&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/releases/latest) [![Activity](https://img.shields.io/github/commit-activity/m/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/commits) [![Pull Requests](https://img.shields.io/github/issues-pr-closed/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/pulls) [![Discord Server](https://img.shields.io/discord/948029830325235753?color=5998FF&label=chat&style=flat-square)](https://discord.gg/seTxckZjJy)
#
# Creating custom shaders for use with JELOS presets
JELOS supports adding custom shaders in addition to the built-in shaders available in the "Advanced Game Options" and "Game Settings / Per System Advanced Configuration" settings.
## Step 1: Launch a game and access the shaders menu in quick settings
If Shaders are set to "off," change to "on"
## Step 2: Configure Shader settings to preference by modifying existing shaders
Specific parameters will vary on a per-shader basis. Example below is based on a custom shader with two passes for GBA:
In shaders, choose "load" and then load "vba-color" (either from the main list, or if on android/PC, it'll be in the "handhelds" folder.
Once loaded, go down to "shader passes" and change it from 1 to 2.
For the second pass where it says "N/A" select it, go into the "handhelds" folder again and choose LCD1x.
Then press "Apply changes" to set it. From there go into "shader parameters" and you'll see the darkening, brighten scanlines, and brighten LCD options. Configure parameters as preferred
Once it's configured to your liking, in the shaders menu press "save" and in the save menu set "Simple Presets" to "off" and then "save shader preset as" and name the custom shader. It'll now be selectable as a default like any of the other preconfigured shaders.
## Step 3: Add your device to your network