mirror of https://github.com/mgba-emu/mgba.git
66 lines
1.1 KiB
INI
66 lines
1.1 KiB
INI
[shader]
|
|
name=Custom LCD
|
|
author=endrift, Dominus Iniquitatis, EddyHg80
|
|
description=Configurable LCD emulation.
|
|
passes=4
|
|
|
|
[pass.0]
|
|
fragmentShader=customLCD-brightness.fs
|
|
blend=1
|
|
width=-1
|
|
height=-1
|
|
|
|
[pass.0.uniform.brightness]
|
|
type=float
|
|
default=1.1
|
|
readableName=Brightness
|
|
|
|
[pass.1]
|
|
fragmentShader=customLCD-subPixels.fs
|
|
blend=1
|
|
width=-3
|
|
height=-3
|
|
|
|
[pass.1.uniform.subPixelDimming]
|
|
type=float
|
|
default=0.2
|
|
readableName=Sub pixel dimming
|
|
|
|
[pass.2]
|
|
fragmentShader=customLCD-pixelBounds.fs
|
|
blend=1
|
|
width=-6
|
|
height=-6
|
|
|
|
[pass.2.uniform.boundBrightness]
|
|
type=float
|
|
default=0.9
|
|
readableName=Pixel bound brightness
|
|
|
|
[pass.3]
|
|
fragmentShader=ags001-light.fs
|
|
blend=1
|
|
width=-6
|
|
height=-6
|
|
|
|
[pass.3.uniform.enable]
|
|
type=int
|
|
default=0
|
|
readableName=Enable AGS-001's pristine light and reflections
|
|
|
|
[pass.3.uniform.lightBrightness]
|
|
type=float
|
|
default=0.9
|
|
readableName=Light brightness
|
|
|
|
[pass.3.uniform.reflectionBrightness]
|
|
type=float
|
|
default=0.07
|
|
readableName=Reflection brightness
|
|
|
|
[pass.3.uniform.reflectionDistance]
|
|
type=float2
|
|
default[0]=0
|
|
default[1]=0.025
|
|
readableName=Reflection offset (x|y)
|