Added new manipulative shaders
This commit is contained in:
BIN
data/shaders/manipulative/ACII.frag.qsb
Normal file
BIN
data/shaders/manipulative/ACII.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Aberrating Aberrations.frag.qsb
Normal file
BIN
data/shaders/manipulative/Aberrating Aberrations.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Brannan Filter.frag.qsb
Normal file
BIN
data/shaders/manipulative/Brannan Filter.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Chroma Blur.frag.qsb
Normal file
BIN
data/shaders/manipulative/Chroma Blur.frag.qsb
Normal file
Binary file not shown.
Binary file not shown.
BIN
data/shaders/manipulative/Circular Pixels.frag.qsb
Normal file
BIN
data/shaders/manipulative/Circular Pixels.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Color Invert.frag.qsb
Normal file
BIN
data/shaders/manipulative/Color Invert.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Color Reduction.frag.qsb
Normal file
BIN
data/shaders/manipulative/Color Reduction.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Desaturate.frag.qsb
Normal file
BIN
data/shaders/manipulative/Desaturate.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/EGA.frag.qsb
Normal file
BIN
data/shaders/manipulative/EGA.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Fake Thermal.frag.qsb
Normal file
BIN
data/shaders/manipulative/Fake Thermal.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Gameboy.frag.qsb
Normal file
BIN
data/shaders/manipulative/Gameboy.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Gaussian Blur.frag.qsb
Normal file
BIN
data/shaders/manipulative/Gaussian Blur.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Italic.frag.qsb
Normal file
BIN
data/shaders/manipulative/Italic.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Median (Fast).frag.qsb
Normal file
BIN
data/shaders/manipulative/Median (Fast).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Melting Snow.frag.qsb
Normal file
BIN
data/shaders/manipulative/Melting Snow.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Mirror (Bottom).frag.qsb
Normal file
BIN
data/shaders/manipulative/Mirror (Bottom).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Mirror (Left).frag.qsb
Normal file
BIN
data/shaders/manipulative/Mirror (Left).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Mirror (Quad).frag.qsb
Normal file
BIN
data/shaders/manipulative/Mirror (Quad).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Mirror (Right).frag.qsb
Normal file
BIN
data/shaders/manipulative/Mirror (Right).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Mirror (Top).frag.qsb
Normal file
BIN
data/shaders/manipulative/Mirror (Top).frag.qsb
Normal file
Binary file not shown.
Binary file not shown.
BIN
data/shaders/manipulative/Nearest Neighbor.frag.qsb
Normal file
BIN
data/shaders/manipulative/Nearest Neighbor.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Night Vision.frag.qsb
Normal file
BIN
data/shaders/manipulative/Night Vision.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Oil Painting.frag.qsb
Normal file
BIN
data/shaders/manipulative/Oil Painting.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Old Memory.frag.qsb
Normal file
BIN
data/shaders/manipulative/Old Memory.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Perlin Noise.frag.qsb
Normal file
BIN
data/shaders/manipulative/Perlin Noise.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Pixelation.frag.qsb
Normal file
BIN
data/shaders/manipulative/Pixelation.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Posterize.frag.qsb
Normal file
BIN
data/shaders/manipulative/Posterize.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Quadtree.frag.qsb
Normal file
BIN
data/shaders/manipulative/Quadtree.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Radial Blur.frag.qsb
Normal file
BIN
data/shaders/manipulative/Radial Blur.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Rain Drops.frag.qsb
Normal file
BIN
data/shaders/manipulative/Rain Drops.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Rainbow Filter.frag.qsb
Normal file
BIN
data/shaders/manipulative/Rainbow Filter.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Randomized Transitions (x2).frag.qsb
Normal file
BIN
data/shaders/manipulative/Randomized Transitions (x2).frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Ripple Distortion.frag.qsb
Normal file
BIN
data/shaders/manipulative/Ripple Distortion.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Scatter Blur.frag.qsb
Normal file
BIN
data/shaders/manipulative/Scatter Blur.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Sepia.frag.qsb
Normal file
BIN
data/shaders/manipulative/Sepia.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Soft Blur.frag.qsb
Normal file
BIN
data/shaders/manipulative/Soft Blur.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Solarize.frag.qsb
Normal file
BIN
data/shaders/manipulative/Solarize.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Stone Man.frag.qsb
Normal file
BIN
data/shaders/manipulative/Stone Man.frag.qsb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
data/shaders/manipulative/Video Artifacts.frag.qsb
Normal file
BIN
data/shaders/manipulative/Video Artifacts.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Video Bubble.frag.qsb
Normal file
BIN
data/shaders/manipulative/Video Bubble.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Video Glitch 02.frag.qsb
Normal file
BIN
data/shaders/manipulative/Video Glitch 02.frag.qsb
Normal file
Binary file not shown.
Binary file not shown.
BIN
data/shaders/manipulative/Video Wall.frag.qsb
Normal file
BIN
data/shaders/manipulative/Video Wall.frag.qsb
Normal file
Binary file not shown.
BIN
data/shaders/manipulative/Water Ripples.frag.qsb
Normal file
BIN
data/shaders/manipulative/Water Ripples.frag.qsb
Normal file
Binary file not shown.
@@ -181,7 +181,7 @@ def compile():
|
||||
|
||||
# Construct and execute the command
|
||||
cmd = [
|
||||
qsb, '--glsl', '330', '--hlsl', '50', '--msl', '12',
|
||||
qsb, '--glsl', '330 es,330,320 es,320', '--hlsl', '50', '--msl', '12',
|
||||
'-o', output_file_path, source_file_path
|
||||
]
|
||||
|
||||
@@ -266,11 +266,15 @@ def process():
|
||||
common_file_contents = re.sub(r'void\s+main\s*\([^)]*\)\s*\{[\s\S]*?\}', '', common_file_contents)
|
||||
|
||||
# 3. Remove declarations in the common file that match the replacement vars
|
||||
for var in variables_to_update:
|
||||
pattern = r'(\w*\s*)(' + var + ')'
|
||||
replacement = r'\1_\2'
|
||||
# -- This really needs to be moved into a detection function that checks for
|
||||
# -- ubuf names within function scopes. This is messing with correctly formatted
|
||||
# -- defines in the common file
|
||||
|
||||
# for var in variables_to_update:
|
||||
# pattern = r'(\w*\s*)(' + var + ')'
|
||||
# replacement = r'\1_\2'
|
||||
|
||||
common_file_contents = re.sub(pattern, replacement, common_file_contents)
|
||||
# common_file_contents = re.sub(pattern, replacement, common_file_contents)
|
||||
|
||||
for file in files:# Stage for processing, if a shader
|
||||
if file.endswith('.frag') and not file == 'Common.frag':
|
||||
|
||||
Reference in New Issue
Block a user