I know that the code for making MetaShaders in a .cgp format in the form of the following code already was shown:
shaders = 1
shader0 = xBR-v3.8c-gamma.cg
scale_type0 = source
scale0 = 5
filter_linear0 = false
But what if I wanted to add another one to it...what would the syntax look like or how would it be written so that the code could inject properly? I have read all the readme on the GitHub Repository, but it does not show and example of how to actually combine two at once...the other example show in these forums only showed one example of how to use bilinear filtering in xBR but the same method is used to combine two different shaders according to teh readme.
So in short my goal is to have the combined two different shaders.
Combining Shaders
-
- Snes9x White Belt
- Posts: 32
- Joined: Thu May 02, 2013 2:33 pm
Re: Combining Shaders
Code: Select all
shaders = 2
shader0 = xBR-v3.8c-gamma.cg
scale_type0 = source
scale0 = 5
filter_linear0 = false
shader1 = second_shader.cg
scale_type1 = source
scale1 = 2
filter_linear1 = false
-
- Snes9x White Belt
- Posts: 32
- Joined: Thu May 02, 2013 2:33 pm
Re: Combining Shaders
OV2 wrote:Code: Select all
shaders = 2 shader0 = xBR-v3.8c-gamma.cg scale_type0 = source scale0 = 5 filter_linear0 = false shader1 = second_shader.cg scale_type1 = source scale1 = 2 filter_linear1 = false
Thanks
