v0.4
This commit is contained in:
parent
a63d9bb0c2
commit
57160ff7f8
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://wt12o1loct68"
|
uid="uid://c1jev8nd8i4gi"
|
||||||
path="res://.godot/imported/EdgeEffect.svg-ca023b57d26ca5f467d23f3ac4b81ad3.ctex"
|
path="res://.godot/imported/EdgeCompositorEffect.svg-bdd61a888faeee3a68d9cb1f0b4e2a28.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://addons/rokojori_action_library/Icons/EdgeEffect.svg"
|
source_file="res://addons/rokojori_action_library/Icons/EdgeCompositorEffect.svg"
|
||||||
dest_files=["res://.godot/imported/EdgeEffect.svg-ca023b57d26ca5f467d23f3ac4b81ad3.ctex"]
|
dest_files=["res://.godot/imported/EdgeCompositorEffect.svg-bdd61a888faeee3a68d9cb1f0b4e2a28.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://buedhm4gbyshv"
|
uid="uid://dk3ohv4pfkedr"
|
||||||
path="res://.godot/imported/GlowEffect.svg-53281d462c84c22a81eeea355a347408.ctex"
|
path="res://.godot/imported/GlowCompositorEffect.svg-013b867a484d69b5f1368a9e89925f87.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://addons/rokojori_action_library/Icons/GlowEffect.svg"
|
source_file="res://addons/rokojori_action_library/Icons/GlowCompositorEffect.svg"
|
||||||
dest_files=["res://.godot/imported/GlowEffect.svg-53281d462c84c22a81eeea355a347408.ctex"]
|
dest_files=["res://.godot/imported/GlowCompositorEffect.svg-013b867a484d69b5f1368a9e89925f87.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://c3s4aak8mx3uc"
|
uid="uid://d14adx0j85eed"
|
||||||
path="res://.godot/imported/WipeEffect.svg-83ce7a91ff36f4ce9af128d056789a5b.ctex"
|
path="res://.godot/imported/WipeCompositorEffect.svg-c07b9d6ca896510204062cb60a712783.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://addons/rokojori_action_library/Icons/WipeEffect.svg"
|
source_file="res://addons/rokojori_action_library/Icons/WipeCompositorEffect.svg"
|
||||||
dest_files=["res://.godot/imported/WipeEffect.svg-83ce7a91ff36f4ce9af128d056789a5b.ctex"]
|
dest_files=["res://.godot/imported/WipeCompositorEffect.svg-c07b9d6ca896510204062cb60a712783.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
|
@ -115,8 +115,8 @@ namespace Rokojori
|
||||||
{
|
{
|
||||||
var graph = new RDGraph( ctx );
|
var graph = new RDGraph( ctx );
|
||||||
|
|
||||||
var viewTexture = CEG_BufferTexture.From( graph, it );
|
var viewTexture = RG_BufferTexture.From( graph, it );
|
||||||
var bufferTexture = CEG_BufferTexture.From( graph, ot );
|
var bufferTexture = RG_BufferTexture.From( graph, ot );
|
||||||
|
|
||||||
var copy = new CEG_Copy( graph );
|
var copy = new CEG_Copy( graph );
|
||||||
var blur = new RG_BoxBlur( graph );
|
var blur = new RG_BoxBlur( graph );
|
||||||
|
|
|
||||||
|
|
@ -150,20 +150,20 @@ namespace Rokojori
|
||||||
{
|
{
|
||||||
var graph = new RDGraph( ctx );
|
var graph = new RDGraph( ctx );
|
||||||
|
|
||||||
var viewTexture = CEG_BufferTexture.From( graph, it );
|
var viewTexture = RG_BufferTexture.From( graph, it );
|
||||||
var initTexture = CEG_BufferTexture.From( graph, ii );
|
var initTexture = RG_BufferTexture.From( graph, ii );
|
||||||
var bufferTexture = CEG_BufferTexture.From( graph, b1 );
|
var bufferTexture = RG_BufferTexture.From( graph, b1 );
|
||||||
var bufferTexture2 = CEG_BufferTexture.From( graph, b2 );
|
var bufferTexture2 = RG_BufferTexture.From( graph, b2 );
|
||||||
var resultTexture = CEG_BufferTexture.From( graph, rt );
|
var resultTexture = RG_BufferTexture.From( graph, rt );
|
||||||
|
|
||||||
ctx.Verbose( "Init Texture:", initTexture.GetTexture() );
|
ctx.Verbose( "Init Texture:", initTexture.GetTexture() );
|
||||||
|
|
||||||
var jfaInititialize = new CEG_JFAInitialize( graph );
|
var jfaInititialize = new RG_JFAInitialize( graph );
|
||||||
jfaInititialize.constants.Set( 0.95f );
|
jfaInititialize.constants.Set( 0.95f );
|
||||||
|
|
||||||
var copy = new CEG_Copy( graph );
|
var copy = new CEG_Copy( graph );
|
||||||
var jfaIterate = new CEG_JFAIterate( graph );
|
var jfaIterate = new RG_JFAIterate( graph );
|
||||||
var jfaAssign = new CEG_JFAAssign( graph );
|
var jfaAssign = new RG_JFAAssign( graph );
|
||||||
var repeat = new RG_SwapRepeat( graph );
|
var repeat = new RG_SwapRepeat( graph );
|
||||||
|
|
||||||
var numSteps = steps == 0 ?
|
var numSteps = steps == 0 ?
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ namespace Rokojori
|
||||||
[Export( PropertyHint.Range, "1,10" )]
|
[Export( PropertyHint.Range, "1,10" )]
|
||||||
public int blurSpread = 1;
|
public int blurSpread = 1;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
|
|
||||||
RG_DAA _daa0;
|
RG_DAA _daa0;
|
||||||
RG_DAA _daa1;
|
RG_DAA _daa1;
|
||||||
|
|
@ -56,7 +56,7 @@ namespace Rokojori
|
||||||
{
|
{
|
||||||
EffectCallbackType = EffectCallbackTypeEnum.PostOpaque;
|
EffectCallbackType = EffectCallbackTypeEnum.PostOpaque;
|
||||||
|
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_daa0 = new RG_DAA( graph );
|
_daa0 = new RG_DAA( graph );
|
||||||
_daa1 = new RG_DAA( graph );
|
_daa1 = new RG_DAA( graph );
|
||||||
_daa2 = new RG_DAA( graph );
|
_daa2 = new RG_DAA( graph );
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ namespace Rokojori
|
||||||
// public float luminance_multiplier = 1f;
|
// public float luminance_multiplier = 1f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
|
|
||||||
RG_FXAA _fxaa0;
|
RG_FXAA _fxaa0;
|
||||||
RG_FXAA _fxaa1;
|
RG_FXAA _fxaa1;
|
||||||
|
|
@ -46,7 +46,7 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_fxaa0 = new RG_FXAA( graph );
|
_fxaa0 = new RG_FXAA( graph );
|
||||||
_fxaa1 = new RG_FXAA( graph );
|
_fxaa1 = new RG_FXAA( graph );
|
||||||
_fxaa2 = new RG_FXAA( graph );
|
_fxaa2 = new RG_FXAA( graph );
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@ namespace Rokojori
|
||||||
public int iterations = 2;
|
public int iterations = 2;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
CEG_Copy copy2;
|
CEG_Copy copy2;
|
||||||
|
|
@ -44,8 +44,8 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
copy2 = new CEG_Copy( graph );
|
copy2 = new CEG_Copy( graph );
|
||||||
|
|
|
||||||
|
|
@ -27,16 +27,16 @@ namespace Rokojori
|
||||||
public float samples = 8f;
|
public float samples = 8f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_RadialBlur radialBlur;
|
RG_RadialBlur radialBlur;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
radialBlur = new RG_RadialBlur( graph );
|
radialBlur = new RG_RadialBlur( graph );
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,16 @@ namespace Rokojori
|
||||||
[Export( PropertyHint.Range, "0,1")]
|
[Export( PropertyHint.Range, "0,1")]
|
||||||
public float maxDifference = 0.5f;
|
public float maxDifference = 0.5f;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RD_Sharpen sharpen;
|
RD_Sharpen sharpen;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
sharpen = new RD_Sharpen( graph );
|
sharpen = new RD_Sharpen( graph );
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,14 @@ namespace Rokojori
|
||||||
public float smearingFrames = 30;
|
public float smearingFrames = 30;
|
||||||
|
|
||||||
|
|
||||||
CEG_BufferTexture _bufferTexture;
|
RG_BufferTexture _bufferTexture;
|
||||||
CEG_ScreenColorTexure _screenColorTexure;
|
RG_ScreenColorTexure _screenColorTexure;
|
||||||
RG_TemporalBlur _temporalBlur;
|
RG_TemporalBlur _temporalBlur;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
_screenColorTexure = new CEG_ScreenColorTexure( graph );
|
_screenColorTexure = new RG_ScreenColorTexure( graph );
|
||||||
_bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
_bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
_temporalBlur = new RG_TemporalBlur( graph );
|
_temporalBlur = new RG_TemporalBlur( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,16 @@ namespace Rokojori
|
||||||
[Export( PropertyHint.Range, "1,10")]
|
[Export( PropertyHint.Range, "1,10")]
|
||||||
public int kernelOffset = 1;
|
public int kernelOffset = 1;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_Kernel3 unsharpMaskingKernel;
|
RG_Kernel3 unsharpMaskingKernel;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
unsharpMaskingKernel = new RG_Kernel3( graph );
|
unsharpMaskingKernel = new RG_Kernel3( graph );
|
||||||
|
|
|
||||||
|
|
@ -143,12 +143,12 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ColorQuantizer colorQuantizer;
|
RG_ColorQuantizer colorQuantizer;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
colorQuantizer = new RG_ColorQuantizer( graph );
|
colorQuantizer = new RG_ColorQuantizer( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,13 +47,13 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public CurveTexture curve = new CurveTexture();
|
public CurveTexture curve = new CurveTexture();
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ImageTexture _curvesTexture;
|
RG_ImageTexture _curvesTexture;
|
||||||
RG_CrossChannelCurves _curves;
|
RG_CrossChannelCurves _curves;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_curvesTexture = new RG_ImageTexture( graph );
|
_curvesTexture = new RG_ImageTexture( graph );
|
||||||
_curves = new RG_CrossChannelCurves( graph );
|
_curves = new RG_CrossChannelCurves( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,13 +41,13 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public float lumaScale = 1;
|
public float lumaScale = 1;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ImageTexture _curvesTexture;
|
RG_ImageTexture _curvesTexture;
|
||||||
RG_HDRMapping _mapping;
|
RG_HDRMapping _mapping;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_curvesTexture = new RG_ImageTexture( graph );
|
_curvesTexture = new RG_ImageTexture( graph );
|
||||||
_mapping = new RG_HDRMapping( graph );
|
_mapping = new RG_HDRMapping( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,12 +51,12 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_HSLAdjustment hslAdjustment;
|
RG_HSLAdjustment hslAdjustment;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
hslAdjustment = new RG_HSLAdjustment( graph );
|
hslAdjustment = new RG_HSLAdjustment( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,13 +20,13 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public CurveXyzTexture curves = new CurveXyzTexture();
|
public CurveXyzTexture curves = new CurveXyzTexture();
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ImageTexture _curvesTexture;
|
RG_ImageTexture _curvesTexture;
|
||||||
RG_HSLCurves _curves;
|
RG_HSLCurves _curves;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_curvesTexture = new RG_ImageTexture( graph );
|
_curvesTexture = new RG_ImageTexture( graph );
|
||||||
_curves = new RG_HSLCurves( graph );
|
_curves = new RG_HSLCurves( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,12 +27,12 @@ namespace Rokojori
|
||||||
public bool b = true;
|
public bool b = true;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_Invert invert;
|
RG_Invert invert;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
invert = new RG_Invert( graph );
|
invert = new RG_Invert( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,12 +47,12 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_LightnessBasedAdjustment adjustment;
|
RG_LightnessBasedAdjustment adjustment;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
adjustment = new RG_LightnessBasedAdjustment( graph );
|
adjustment = new RG_LightnessBasedAdjustment( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,12 +30,12 @@ namespace Rokojori
|
||||||
public float offset = 0;
|
public float offset = 0;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_Posterization posterization;
|
RG_Posterization posterization;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
posterization = new RG_Posterization( graph );
|
posterization = new RG_Posterization( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,13 +20,13 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public CurveXyzTexture curves = new CurveXyzTexture();
|
public CurveXyzTexture curves = new CurveXyzTexture();
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ImageTexture _curvesTexture;
|
RG_ImageTexture _curvesTexture;
|
||||||
RG_RGBCurves _curves;
|
RG_RGBCurves _curves;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_curvesTexture = new RG_ImageTexture( graph );
|
_curvesTexture = new RG_ImageTexture( graph );
|
||||||
_curves = new RG_RGBCurves( graph );
|
_curves = new RG_RGBCurves( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,12 +30,12 @@ namespace Rokojori
|
||||||
public float colorDistanceMin = 0.1f;
|
public float colorDistanceMin = 0.1f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_ReplaceColor replaceColor;
|
RG_ReplaceColor replaceColor;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
replaceColor = new RG_ReplaceColor( graph );
|
replaceColor = new RG_ReplaceColor( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,12 +26,12 @@ namespace Rokojori
|
||||||
[ Export( PropertyHint.Range, "0,1") ]
|
[ Export( PropertyHint.Range, "0,1") ]
|
||||||
public float saturationAmount = 0.5f;
|
public float saturationAmount = 0.5f;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
RG_Sepia sepia;
|
RG_Sepia sepia;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
sepia = new RG_Sepia( graph );
|
sepia = new RG_Sepia( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,16 +35,16 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public bool clamp = false;
|
public bool clamp = false;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_Kernel3 kernel;
|
RG_Kernel3 kernel;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
kernel = new RG_Kernel3( graph );
|
kernel = new RG_Kernel3( graph );
|
||||||
|
|
|
||||||
|
|
@ -36,19 +36,19 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public float centerUnshiftMinRadius = 0.1f;
|
public float centerUnshiftMinRadius = 0.1f;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
CEG_ChromaticAberation chromaticAberation;
|
RG_ChromaticAberation chromaticAberation;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
chromaticAberation = new CEG_ChromaticAberation( graph );
|
chromaticAberation = new RG_ChromaticAberation( graph );
|
||||||
|
|
||||||
|
|
||||||
graph.InitializeNodes();
|
graph.InitializeNodes();
|
||||||
|
|
|
||||||
|
|
@ -55,16 +55,16 @@ namespace Rokojori
|
||||||
public float blueShift = 0f;
|
public float blueShift = 0f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_EdgeDistortion distortion;
|
RG_EdgeDistortion distortion;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
distortion = new RG_EdgeDistortion( graph );
|
distortion = new RG_EdgeDistortion( graph );
|
||||||
|
|
|
||||||
|
|
@ -65,16 +65,16 @@ namespace Rokojori
|
||||||
public float blueShift = 0f;
|
public float blueShift = 0f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_EllipseDistortion distortion;
|
RG_EllipseDistortion distortion;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
distortion = new RG_EllipseDistortion( graph );
|
distortion = new RG_EllipseDistortion( graph );
|
||||||
|
|
|
||||||
|
|
@ -48,16 +48,16 @@ namespace Rokojori
|
||||||
public float blueShift = 0f;
|
public float blueShift = 0f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_NoiseDistortion distortion;
|
RG_NoiseDistortion distortion;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
distortion = new RG_NoiseDistortion( graph );
|
distortion = new RG_NoiseDistortion( graph );
|
||||||
|
|
|
||||||
|
|
@ -94,23 +94,23 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public ColorSpaceConversion maskTextureConversion = ColorSpaceConversion.No_Conversion;
|
public ColorSpaceConversion maskTextureConversion = ColorSpaceConversion.No_Conversion;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
RG_ImageTexture distortionTextureInput;
|
RG_ImageTexture distortionTextureInput;
|
||||||
RG_ImageTexture maskTextureInput;
|
RG_ImageTexture maskTextureInput;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RD_TextureDistortion distortion;
|
RG_TextureDistortion distortion;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
distortionTextureInput = new RG_ImageTexture( graph );
|
distortionTextureInput = new RG_ImageTexture( graph );
|
||||||
maskTextureInput = new RG_ImageTexture( graph );
|
maskTextureInput = new RG_ImageTexture( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
distortion = new RD_TextureDistortion( graph );
|
distortion = new RG_TextureDistortion( graph );
|
||||||
|
|
||||||
graph.InitializeNodes();
|
graph.InitializeNodes();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
using Godot;
|
using Godot;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
|
|
@ -78,28 +77,11 @@ namespace Rokojori
|
||||||
[Export ]
|
[Export ]
|
||||||
public Vector2 zOutput = new Vector2( 0f, 1f );
|
public Vector2 zOutput = new Vector2( 0f, 1f );
|
||||||
|
|
||||||
int _downSampling = 16;
|
|
||||||
|
|
||||||
public enum DownSampling
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
{
|
RG_ScreenDepthTexture screenDepthTexture;
|
||||||
_1x_,
|
|
||||||
_2x_,
|
|
||||||
_4x_,
|
|
||||||
_8x_,
|
|
||||||
_16x_,
|
|
||||||
_32x_
|
|
||||||
}
|
|
||||||
|
|
||||||
public int downSamplingRate => Mathf.RoundToInt( Mathf.Pow( 2, (int) downSampling ) );
|
|
||||||
|
|
||||||
[Export]
|
|
||||||
public DownSampling downSampling = DownSampling._4x_;
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
|
||||||
CEG_ScreenDepthTexture screenDepthTexture;
|
|
||||||
RG_ScreenNormalRoughnessTexture screenNormalRoughnessTexture;
|
RG_ScreenNormalRoughnessTexture screenNormalRoughnessTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
RG_ImageTexture zTresholdTexture;
|
RG_ImageTexture zTresholdTexture;
|
||||||
RG_ImageTexture edgeIntensityTexture;
|
RG_ImageTexture edgeIntensityTexture;
|
||||||
RG_ImageTexture outlineWidthTexture;
|
RG_ImageTexture outlineWidthTexture;
|
||||||
|
|
@ -112,11 +94,11 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
screenDepthTexture = new CEG_ScreenDepthTexture( graph );
|
screenDepthTexture = new RG_ScreenDepthTexture( graph );
|
||||||
screenNormalRoughnessTexture = new RG_ScreenNormalRoughnessTexture( graph );
|
screenNormalRoughnessTexture = new RG_ScreenNormalRoughnessTexture( graph );
|
||||||
|
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
zTresholdTexture = new RG_ImageTexture( graph );
|
zTresholdTexture = new RG_ImageTexture( graph );
|
||||||
edgeIntensityTexture = new RG_ImageTexture( graph );
|
edgeIntensityTexture = new RG_ImageTexture( graph );
|
||||||
outlineWidthTexture = new RG_ImageTexture( graph );
|
outlineWidthTexture = new RG_ImageTexture( graph );
|
||||||
|
|
|
||||||
|
|
@ -39,15 +39,15 @@ namespace Rokojori
|
||||||
public float debugView = 0f;
|
public float debugView = 0f;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure _colorTexture;
|
RG_ScreenColorTexure _colorTexture;
|
||||||
CEG_ScreenDepthTexture _depthTexture;
|
RG_ScreenDepthTexture _depthTexture;
|
||||||
RG_Rim _rim;
|
RG_Rim _rim;
|
||||||
|
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
_colorTexture = new CEG_ScreenColorTexure( graph );
|
_colorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_depthTexture = new CEG_ScreenDepthTexture( graph );
|
_depthTexture = new RG_ScreenDepthTexture( graph );
|
||||||
_rim = new RG_Rim( graph );
|
_rim = new RG_Rim( graph );
|
||||||
|
|
||||||
graph.InitializeNodes();
|
graph.InitializeNodes();
|
||||||
|
|
|
||||||
|
|
@ -119,9 +119,9 @@ namespace Rokojori
|
||||||
public DownSampling downSampling = DownSampling._4x_;
|
public DownSampling downSampling = DownSampling._4x_;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
CEG_BufferTexture bufferTexture2;
|
RG_BufferTexture bufferTexture2;
|
||||||
|
|
||||||
RG_ExtractGlow extractGlow;
|
RG_ExtractGlow extractGlow;
|
||||||
RG_GaussBlur lumaBlurX;
|
RG_GaussBlur lumaBlurX;
|
||||||
|
|
@ -135,9 +135,9 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
bufferTexture2 = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture2 = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
|
|
||||||
lumaBlurX = new RG_GaussBlur( graph );
|
lumaBlurX = new RG_GaussBlur( graph );
|
||||||
lumaBlurY = new RG_GaussBlur( graph );
|
lumaBlurY = new RG_GaussBlur( graph );
|
||||||
|
|
|
||||||
|
|
@ -98,9 +98,9 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public GhostBloomSettings[] layerSettings = [];
|
public GhostBloomSettings[] layerSettings = [];
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
CEG_BufferTexture bufferTexture2;
|
RG_BufferTexture bufferTexture2;
|
||||||
RG_ImageTexture fadingTexture;
|
RG_ImageTexture fadingTexture;
|
||||||
RG_ImageTexture radialFadingTexture;
|
RG_ImageTexture radialFadingTexture;
|
||||||
|
|
||||||
|
|
@ -117,9 +117,9 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
bufferTexture2 = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture2 = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
fadingTexture = new RG_ImageTexture( graph );
|
fadingTexture = new RG_ImageTexture( graph );
|
||||||
radialFadingTexture = new RG_ImageTexture( graph );
|
radialFadingTexture = new RG_ImageTexture( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -133,9 +133,9 @@ namespace Rokojori
|
||||||
// public DownSampling downSampling = DownSampling._4x_;
|
// public DownSampling downSampling = DownSampling._4x_;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
CEG_BufferTexture bufferTexture2;
|
RG_BufferTexture bufferTexture2;
|
||||||
RG_ImageTexture inputFadeTexture;
|
RG_ImageTexture inputFadeTexture;
|
||||||
RG_ImageTexture outputFadeTexture;
|
RG_ImageTexture outputFadeTexture;
|
||||||
RG_ImageTexture tintTexture;
|
RG_ImageTexture tintTexture;
|
||||||
|
|
@ -152,9 +152,9 @@ namespace Rokojori
|
||||||
RG_Fill fill;
|
RG_Fill fill;
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
bufferTexture2 = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture2 = RG_BufferTexture.ScreenSize( graph );
|
||||||
inputFadeTexture = new RG_ImageTexture( graph );
|
inputFadeTexture = new RG_ImageTexture( graph );
|
||||||
outputFadeTexture = new RG_ImageTexture( graph );
|
outputFadeTexture = new RG_ImageTexture( graph );
|
||||||
tintTexture = new RG_ImageTexture( graph );
|
tintTexture = new RG_ImageTexture( graph );
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,9 @@ namespace Rokojori
|
||||||
public DownSampling downSampling = DownSampling._4x_;
|
public DownSampling downSampling = DownSampling._4x_;
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_ScreenDepthTexture screenDepthTexture;
|
RG_ScreenDepthTexture screenDepthTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
RG_ImageTexture zMappingTexture;
|
RG_ImageTexture zMappingTexture;
|
||||||
|
|
||||||
RG_ExtractGlowLine extractGlowLine;
|
RG_ExtractGlowLine extractGlowLine;
|
||||||
|
|
@ -106,9 +106,9 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
screenDepthTexture = new CEG_ScreenDepthTexture( graph );
|
screenDepthTexture = new RG_ScreenDepthTexture( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
zMappingTexture = new RG_ImageTexture( graph );
|
zMappingTexture = new RG_ImageTexture( graph );
|
||||||
|
|
||||||
extractGlowLine = new RG_ExtractGlowLine( graph );
|
extractGlowLine = new RG_ExtractGlowLine( graph );
|
||||||
|
|
|
||||||
|
|
@ -76,9 +76,9 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public DownSampling downSampling = DownSampling._4x_;
|
public DownSampling downSampling = DownSampling._4x_;
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
CEG_BufferTexture bufferTexture2;
|
RG_BufferTexture bufferTexture2;
|
||||||
|
|
||||||
RG_Resize downScale;
|
RG_Resize downScale;
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
|
|
@ -95,9 +95,9 @@ namespace Rokojori
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
bufferTexture2 = CEG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
bufferTexture2 = RG_BufferTexture.ScreenSize( graph, Vector2.One / (float) _downSampling );
|
||||||
|
|
||||||
downScale = new RG_Resize( graph );
|
downScale = new RG_Resize( graph );
|
||||||
upScale = new RG_GlowAdd( graph );
|
upScale = new RG_GlowAdd( graph );
|
||||||
|
|
|
||||||
|
|
@ -63,16 +63,16 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_ChannelPixelation pixelation;
|
RG_ChannelPixelation pixelation;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
pixelation = new RG_ChannelPixelation( graph );
|
pixelation = new RG_ChannelPixelation( graph );
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,12 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public float pixelSizePower = 1f;
|
public float pixelSizePower = 1f;
|
||||||
|
|
||||||
CEG_ScreenColorTexure _screenColorTexture;
|
RG_ScreenColorTexure _screenColorTexture;
|
||||||
RG_Pixelation _pixelation;
|
RG_Pixelation _pixelation;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
_screenColorTexture = new CEG_ScreenColorTexure( graph );
|
_screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
_pixelation = new RG_Pixelation( graph );
|
_pixelation = new RG_Pixelation( graph );
|
||||||
|
|
||||||
graph.InitializeNodes();
|
graph.InitializeNodes();
|
||||||
|
|
|
||||||
|
|
@ -49,16 +49,16 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure screenColorTexture;
|
RG_ScreenColorTexure screenColorTexture;
|
||||||
CEG_BufferTexture bufferTexture;
|
RG_BufferTexture bufferTexture;
|
||||||
|
|
||||||
CEG_Copy copy;
|
CEG_Copy copy;
|
||||||
RG_ScanLines scanLines;
|
RG_ScanLines scanLines;
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
bufferTexture = CEG_BufferTexture.ScreenSize( graph );
|
bufferTexture = RG_BufferTexture.ScreenSize( graph );
|
||||||
|
|
||||||
copy = new CEG_Copy( graph );
|
copy = new CEG_Copy( graph );
|
||||||
scanLines = new RG_ScanLines( graph );
|
scanLines = new RG_ScanLines( graph );
|
||||||
|
|
|
||||||
|
|
@ -106,8 +106,8 @@ namespace Rokojori
|
||||||
RG_ImageTexture _topTexture;
|
RG_ImageTexture _topTexture;
|
||||||
RG_ImageTexture _maskTexture;
|
RG_ImageTexture _maskTexture;
|
||||||
RG_ImageTexture _alphaMappingTexture;
|
RG_ImageTexture _alphaMappingTexture;
|
||||||
CEG_ScreenColorTexure _bottomTexture;
|
RG_ScreenColorTexure _bottomTexture;
|
||||||
CEG_ScreenColorTexure _outputTexture;
|
RG_ScreenColorTexure _outputTexture;
|
||||||
|
|
||||||
|
|
||||||
List<RG_BlendModeBase> _blendModes;
|
List<RG_BlendModeBase> _blendModes;
|
||||||
|
|
@ -125,8 +125,8 @@ namespace Rokojori
|
||||||
_topTexture = new RG_ImageTexture( graph );
|
_topTexture = new RG_ImageTexture( graph );
|
||||||
_maskTexture = new RG_ImageTexture( graph );
|
_maskTexture = new RG_ImageTexture( graph );
|
||||||
_alphaMappingTexture = new RG_ImageTexture( graph );
|
_alphaMappingTexture = new RG_ImageTexture( graph );
|
||||||
_bottomTexture = new CEG_ScreenColorTexure( graph );
|
_bottomTexture = new RG_ScreenColorTexure( graph );
|
||||||
_outputTexture = new CEG_ScreenColorTexure( graph );
|
_outputTexture = new RG_ScreenColorTexure( graph );
|
||||||
|
|
||||||
_blendModes = RG_BlendModesTool.CreateAll( graph );
|
_blendModes = RG_BlendModesTool.CreateAll( graph );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,13 +58,13 @@ namespace Rokojori
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CEG_ScreenColorTexure _screenTexture;
|
RG_ScreenColorTexure _screenTexture;
|
||||||
RG_Vignette _vignette;
|
RG_Vignette _vignette;
|
||||||
|
|
||||||
|
|
||||||
void Initialize()
|
void Initialize()
|
||||||
{
|
{
|
||||||
_screenTexture = new CEG_ScreenColorTexure( graph );
|
_screenTexture = new RG_ScreenColorTexure( graph );
|
||||||
_vignette = new RG_Vignette( graph );
|
_vignette = new RG_Vignette( graph );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,8 @@ namespace Rokojori
|
||||||
[Export]
|
[Export]
|
||||||
public bool normalizeBlendWeights = true;
|
public bool normalizeBlendWeights = true;
|
||||||
|
|
||||||
protected CEG_ImageProcessor wipe;
|
protected RG_ImageProcessor wipe;
|
||||||
protected CEG_ScreenColorTexure screenColorTexture;
|
protected RG_ScreenColorTexure screenColorTexture;
|
||||||
|
|
||||||
|
|
||||||
public Color GetWipeColor()
|
public Color GetWipeColor()
|
||||||
|
|
@ -45,10 +45,10 @@ namespace Rokojori
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void InitializeWipe( CEG_ImageProcessor wipe )
|
protected void InitializeWipe( RG_ImageProcessor wipe )
|
||||||
{
|
{
|
||||||
this.wipe = wipe;
|
this.wipe = wipe;
|
||||||
screenColorTexture = new CEG_ScreenColorTexure( graph );
|
screenColorTexture = new RG_ScreenColorTexure( graph );
|
||||||
|
|
||||||
graph.InitializeNodes();
|
graph.InitializeNodes();
|
||||||
wipe.SetTextureSlotInputs( screenColorTexture, screenColorTexture );
|
wipe.SetTextureSlotInputs( screenColorTexture, screenColorTexture );
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ noise = SubResource("FastNoiseLite_8gn8u")
|
||||||
color_ramp = SubResource("Gradient_g7p6u")
|
color_ramp = SubResource("Gradient_g7p6u")
|
||||||
seamless = true
|
seamless = true
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_ie6m2"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_x2b2j"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -65,6 +65,7 @@ effect_callback_type = 4
|
||||||
needs_motion_vectors = false
|
needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("5_6d3w2")
|
script = ExtResource("5_6d3w2")
|
||||||
|
opacity = 0.0
|
||||||
blendMode = 1
|
blendMode = 1
|
||||||
uvMode = 1
|
uvMode = 1
|
||||||
overlayTexture = SubResource("NoiseTexture2D_segrq")
|
overlayTexture = SubResource("NoiseTexture2D_segrq")
|
||||||
|
|
@ -93,7 +94,7 @@ metadata/_custom_type_script = "uid://dvvfvlutisecy"
|
||||||
script = ExtResource("3_7oha2")
|
script = ExtResource("3_7oha2")
|
||||||
owner = SubResource("Resource_diigt")
|
owner = SubResource("Resource_diigt")
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_i5utj"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_kelqw"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -101,7 +102,7 @@ effect_callback_type = 4
|
||||||
needs_motion_vectors = false
|
needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("4_pflfa")
|
script = ExtResource("4_pflfa")
|
||||||
distortionAmount = 0.3043
|
distortionAmount = 0.0
|
||||||
ellipseSize = Vector2(0.729, 0.729)
|
ellipseSize = Vector2(0.729, 0.729)
|
||||||
minDistance = 0.199
|
minDistance = 0.199
|
||||||
smearingSteps = 7
|
smearingSteps = 7
|
||||||
|
|
@ -147,7 +148,7 @@ noise = SubResource("FastNoiseLite_akcsj")
|
||||||
color_ramp = SubResource("Gradient_ml7cv")
|
color_ramp = SubResource("Gradient_ml7cv")
|
||||||
seamless = true
|
seamless = true
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_22k1k"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_7oha2"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -155,6 +156,7 @@ effect_callback_type = 4
|
||||||
needs_motion_vectors = false
|
needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("5_6d3w2")
|
script = ExtResource("5_6d3w2")
|
||||||
|
opacity = 0.0
|
||||||
uvMode = 1
|
uvMode = 1
|
||||||
overlayTexture = SubResource("NoiseTexture2D_y4a3q")
|
overlayTexture = SubResource("NoiseTexture2D_y4a3q")
|
||||||
tiling = Vector2(7, 1)
|
tiling = Vector2(7, 1)
|
||||||
|
|
@ -169,5 +171,5 @@ metadata/_custom_type_script = "uid://t5g1g1uv5yrj"
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource("6_g7p6u")
|
script = ExtResource("6_g7p6u")
|
||||||
effects = [SubResource("CompositorEffect_ie6m2"), SubResource("CompositorEffect_i5utj"), SubResource("CompositorEffect_22k1k")]
|
effects = [SubResource("CompositorEffect_x2b2j"), SubResource("CompositorEffect_kelqw"), SubResource("CompositorEffect_7oha2")]
|
||||||
metadata/_custom_type_script = "uid://ckixweetchlo0"
|
metadata/_custom_type_script = "uid://ckixweetchlo0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_resource type="Resource" script_class="CompositorVFXPreset" load_steps=32 format=3 uid="uid://0blw3yhjw7y0"]
|
[gd_resource type="Resource" script_class="CompositorVFXPreset" load_steps=35 format=3 uid="uid://0blw3yhjw7y0"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://cx5qcow1mmd11" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorEffectOwner.cs" id="1_0ail8"]
|
[ext_resource type="Script" uid="uid://cx5qcow1mmd11" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorEffectOwner.cs" id="1_0ail8"]
|
||||||
[ext_resource type="Script" uid="uid://dvvfvlutisecy" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/AnimationTargets/CompFXMemberCurveTarget.cs" id="1_4xviq"]
|
[ext_resource type="Script" uid="uid://dvvfvlutisecy" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/AnimationTargets/CompFXMemberCurveTarget.cs" id="1_4xviq"]
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
[ext_resource type="Texture2D" uid="uid://c30nul6romace" path="res://addons/rokojori_action_library/Runtime/Procedural/Noise/RGB 3D Noise.png" id="5_orb2s"]
|
[ext_resource type="Texture2D" uid="uid://c30nul6romace" path="res://addons/rokojori_action_library/Runtime/Procedural/Noise/RGB 3D Noise.png" id="5_orb2s"]
|
||||||
[ext_resource type="Script" uid="uid://balixgskgouhm" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Distortion/TextureDistortion/TextureDistortionEffect.cs" id="6_hdnet"]
|
[ext_resource type="Script" uid="uid://balixgskgouhm" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Distortion/TextureDistortion/TextureDistortionEffect.cs" id="6_hdnet"]
|
||||||
[ext_resource type="Script" uid="uid://ckixweetchlo0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorVFXPreset.cs" id="6_orb2s"]
|
[ext_resource type="Script" uid="uid://ckixweetchlo0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorVFXPreset.cs" id="6_orb2s"]
|
||||||
|
[ext_resource type="Script" uid="uid://cjfxcl3cdhnku" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Color/LightnessBasedAdjustment/LightnessBasedAdjustmentEffect.cs" id="7_dryyw"]
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_btbfg"]
|
[sub_resource type="Curve" id="Curve_btbfg"]
|
||||||
_data = [Vector2(0, 0), 0.0, 1.0, 0, 1, Vector2(1, 1), 1.0, 0.0, 1, 0]
|
_data = [Vector2(0, 0), 0.0, 1.0, 0, 1, Vector2(1, 1), 1.0, 0.0, 1, 0]
|
||||||
|
|
@ -47,7 +48,7 @@ point_count = 3
|
||||||
[sub_resource type="CurveTexture" id="CurveTexture_hpfyh"]
|
[sub_resource type="CurveTexture" id="CurveTexture_hpfyh"]
|
||||||
curve = SubResource("Curve_22k1k")
|
curve = SubResource("Curve_22k1k")
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_tc21q"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_ie6m2"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -55,7 +56,6 @@ effect_callback_type = 4
|
||||||
needs_motion_vectors = false
|
needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("3_dryyw")
|
script = ExtResource("3_dryyw")
|
||||||
amount = 0.0
|
|
||||||
outlineWidth = -0.0516
|
outlineWidth = -0.0516
|
||||||
outlineWidthCurve = SubResource("CurveTexture_p64cs")
|
outlineWidthCurve = SubResource("CurveTexture_p64cs")
|
||||||
edgeColor = Color(0.14817011, 0.21073082, 0.29634023, 1)
|
edgeColor = Color(0.14817011, 0.21073082, 0.29634023, 1)
|
||||||
|
|
@ -97,7 +97,7 @@ colors = PackedColorArray(1, 1, 1, 1)
|
||||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_w6tyf"]
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_w6tyf"]
|
||||||
gradient = SubResource("Gradient_frwbc")
|
gradient = SubResource("Gradient_frwbc")
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_dryyw"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_i5utj"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -106,7 +106,6 @@ needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("6_hdnet")
|
script = ExtResource("6_hdnet")
|
||||||
distortionAmount = 0.0049
|
distortionAmount = 0.0049
|
||||||
blendAmount = 0.0
|
|
||||||
smearingSteps = 1
|
smearingSteps = 1
|
||||||
smearing = 1.0
|
smearing = 1.0
|
||||||
redShift = 0.0
|
redShift = 0.0
|
||||||
|
|
@ -144,7 +143,7 @@ colors = PackedColorArray(1, 1, 1, 1)
|
||||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ixn1d"]
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ixn1d"]
|
||||||
gradient = SubResource("Gradient_72jau")
|
gradient = SubResource("Gradient_72jau")
|
||||||
|
|
||||||
[sub_resource type="CompositorEffect" id="CompositorEffect_4xviq"]
|
[sub_resource type="CompositorEffect" id="CompositorEffect_22k1k"]
|
||||||
resource_local_to_scene = false
|
resource_local_to_scene = false
|
||||||
resource_name = ""
|
resource_name = ""
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
@ -153,7 +152,6 @@ needs_motion_vectors = false
|
||||||
needs_normal_roughness = false
|
needs_normal_roughness = false
|
||||||
script = ExtResource("6_hdnet")
|
script = ExtResource("6_hdnet")
|
||||||
distortionAmount = 0.0026
|
distortionAmount = 0.0026
|
||||||
blendAmount = 0.0
|
|
||||||
smearingSteps = 1
|
smearingSteps = 1
|
||||||
smearing = 1.0
|
smearing = 1.0
|
||||||
redShift = 0.0
|
redShift = 0.0
|
||||||
|
|
@ -167,7 +165,24 @@ animationTargets = [SubResource("Resource_ixn1d")]
|
||||||
compositorEffectID = SubResource("Resource_gxlxg")
|
compositorEffectID = SubResource("Resource_gxlxg")
|
||||||
metadata/_custom_type_script = "uid://balixgskgouhm"
|
metadata/_custom_type_script = "uid://balixgskgouhm"
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_3tnad"]
|
||||||
|
script = ExtResource("2_tc21q")
|
||||||
|
owner = SubResource("Resource_ie6m2")
|
||||||
|
|
||||||
|
[sub_resource type="CompositorEffect" id="CompositorEffect_y3g14"]
|
||||||
|
resource_local_to_scene = false
|
||||||
|
resource_name = ""
|
||||||
|
enabled = true
|
||||||
|
effect_callback_type = 4
|
||||||
|
needs_motion_vectors = false
|
||||||
|
needs_normal_roughness = false
|
||||||
|
script = ExtResource("7_dryyw")
|
||||||
|
amount = 1.0
|
||||||
|
saturationShift = Vector3(0.5915, 0, 0)
|
||||||
|
compositorEffectID = SubResource("Resource_3tnad")
|
||||||
|
metadata/_custom_type_script = "uid://cjfxcl3cdhnku"
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource("6_orb2s")
|
script = ExtResource("6_orb2s")
|
||||||
effects = [SubResource("CompositorEffect_tc21q"), SubResource("CompositorEffect_dryyw"), SubResource("CompositorEffect_4xviq")]
|
effects = [SubResource("CompositorEffect_ie6m2"), SubResource("CompositorEffect_i5utj"), SubResource("CompositorEffect_22k1k"), SubResource("CompositorEffect_y3g14")]
|
||||||
metadata/_custom_type_script = "uid://ckixweetchlo0"
|
metadata/_custom_type_script = "uid://ckixweetchlo0"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_DAA:CEG_ImageProcessor
|
public class RG_DAA:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
|
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_FXAA:CEG_ImageProcessor
|
public class RG_FXAA:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
|
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_BoxBlur:CEG_ImageProcessor
|
public class RG_BoxBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/BoxBlur/BoxBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/BoxBlur/BoxBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_GaussBlur:CEG_ImageProcessor
|
public class RG_GaussBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/GaussBlur/GaussBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/GaussBlur/GaussBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_FadedMaxBlur:CEG_ImageProcessor
|
public class RG_FadedMaxBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/MaxBlur/FadedMaxBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/MaxBlur/FadedMaxBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_MaxBlur:CEG_ImageProcessor
|
public class RG_MaxBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/MaxBlur/MaxBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/MaxBlur/MaxBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_RadialBlur:CEG_ImageProcessor
|
public class RG_RadialBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/RadialBlur/RadialBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/RadialBlur/RadialBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_TemporalBlur:CEG_ImageProcessor
|
public class RG_TemporalBlur:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Blurs/TemporalBlur/TemporalBlur.glsl" );
|
RDGraph.Path( "Nodes/Processors/Blurs/TemporalBlur/TemporalBlur.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_AlphaColorDilation:CEG_ImageProcessor
|
public class RG_AlphaColorDilation:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/AlphaColorDilation/AlphaColorDilation.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/AlphaColorDilation/AlphaColorDilation.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_ChromaticAberation:CEG_ImageProcessor
|
public class RG_ChromaticAberation:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/ChromaticAberation/ChromaticAberation.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/ChromaticAberation/ChromaticAberation.glsl" );
|
||||||
|
|
||||||
public CEG_ChromaticAberation( RDGraph graph ):base( graph, shaderPath )
|
public RG_ChromaticAberation( RDGraph graph ):base( graph, shaderPath )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ColorQuantizer:CEG_ImageProcessor
|
public class RG_ColorQuantizer:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/ColorQuantizer/ColorQuantizer.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/ColorQuantizer/ColorQuantizer.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_CrossChannelCurves:CEG_ImageProcessor
|
public class RG_CrossChannelCurves:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public readonly CompositorEffectGraphTextureSlot curves;
|
public readonly CompositorEffectGraphTextureSlot curves;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_HDRMapping:CEG_ImageProcessor
|
public class RG_HDRMapping:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/HDRMapping/HDRMapping.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/HDRMapping/HDRMapping.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_HSLAdjustment:CEG_ImageProcessor
|
public class RG_HSLAdjustment:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/HSLAdjustment/HSLAdjustment.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/HSLAdjustment/HSLAdjustment.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_HSLCurves:CEG_ImageProcessor
|
public class RG_HSLCurves:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public readonly CompositorEffectGraphTextureSlot curves;
|
public readonly CompositorEffectGraphTextureSlot curves;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_Invert:CEG_ImageProcessor
|
public class RG_Invert:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/Invert/Invert.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/Invert/Invert.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_LightnessBasedAdjustment:CEG_ImageProcessor
|
public class RG_LightnessBasedAdjustment:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/LightnessBasedAdjustment/LightnessBasedAdjustment.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/LightnessBasedAdjustment/LightnessBasedAdjustment.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_Posterization:CEG_ImageProcessor
|
public class RG_Posterization:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/Posterization/Posterization.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/Posterization/Posterization.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_RGBCurves:CEG_ImageProcessor
|
public class RG_RGBCurves:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public readonly CompositorEffectGraphTextureSlot curves;
|
public readonly CompositorEffectGraphTextureSlot curves;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ReplaceColor:CEG_ImageProcessor
|
public class RG_ReplaceColor:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/ReplaceColor/ReplaceColor.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/ReplaceColor/ReplaceColor.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_Sepia:CEG_ImageProcessor
|
public class RG_Sepia:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Color/Sepia/Sepia.glsl" );
|
RDGraph.Path( "Nodes/Processors/Color/Sepia/Sepia.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_Copy:CEG_ImageProcessor
|
public class CEG_Copy:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Copy/Copy.glsl" );
|
RDGraph.Path( "Nodes/Processors/Copy/Copy.glsl" );
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_Resize:CEG_ImageProcessor
|
public class RG_Resize:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Copy/Resize.glsl" );
|
RDGraph.Path( "Nodes/Processors/Copy/Resize.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_GenerateViewZ:CEG_ImageProcessor
|
public class RG_GenerateViewZ:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Depth/GenerateViewZ/GenerateViewZ.glsl" );
|
RDGraph.Path( "Nodes/Processors/Depth/GenerateViewZ/GenerateViewZ.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_EdgeDistortion:CEG_ImageProcessor
|
public class RG_EdgeDistortion:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Distortion/EdgeDistortion/EdgeDistortion.glsl" );
|
RDGraph.Path( "Nodes/Processors/Distortion/EdgeDistortion/EdgeDistortion.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_EllipseDistortion:CEG_ImageProcessor
|
public class RG_EllipseDistortion:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Distortion/EllipseDistortion/EllipseDistortion.glsl" );
|
RDGraph.Path( "Nodes/Processors/Distortion/EllipseDistortion/EllipseDistortion.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_NoiseDistortion:CEG_ImageProcessor
|
public class RG_NoiseDistortion:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Distortion/NoiseDistortion/NoiseDistortion.glsl" );
|
RDGraph.Path( "Nodes/Processors/Distortion/NoiseDistortion/NoiseDistortion.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ScanLines:CEG_ImageProcessor
|
public class RG_ScanLines:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Distortion/ScanLines/ScanLines.glsl" );
|
RDGraph.Path( "Nodes/Processors/Distortion/ScanLines/ScanLines.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RD_TextureDistortion:CEG_ImageProcessor
|
public class RG_TextureDistortion:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public readonly CompositorEffectGraphTextureSlot distortion;
|
public readonly CompositorEffectGraphTextureSlot distortion;
|
||||||
public readonly CompositorEffectGraphTextureSlot mask;
|
public readonly CompositorEffectGraphTextureSlot mask;
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Rokojori
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Distortion/TextureDistortion/TextureDistortion.glsl" );
|
RDGraph.Path( "Nodes/Processors/Distortion/TextureDistortion/TextureDistortion.glsl" );
|
||||||
|
|
||||||
public RD_TextureDistortion( RDGraph graph ):base( graph, shaderPath )
|
public RG_TextureDistortion( RDGraph graph ):base( graph, shaderPath )
|
||||||
{
|
{
|
||||||
distortion = new CompositorEffectGraphTextureSlot( this );
|
distortion = new CompositorEffectGraphTextureSlot( this );
|
||||||
mask = new CompositorEffectGraphTextureSlot( this );
|
mask = new CompositorEffectGraphTextureSlot( this );
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_TextureCreator
|
public class RG_TextureCreator
|
||||||
{
|
{
|
||||||
public bool autoClean = true;
|
public bool autoClean = true;
|
||||||
|
|
||||||
|
|
@ -25,7 +25,7 @@ namespace Rokojori
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CEG_TextureCreator_ScreenSize:CEG_TextureCreator
|
public class CEG_TextureCreator_ScreenSize:RG_TextureCreator
|
||||||
{
|
{
|
||||||
public RDTextureFormat format = RDTexture.DefaultFormat( -1, -1 );
|
public RDTextureFormat format = RDTexture.DefaultFormat( -1, -1 );
|
||||||
public Vector2 scale = Vector2.One;
|
public Vector2 scale = Vector2.One;
|
||||||
|
|
@ -45,7 +45,7 @@ namespace Rokojori
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CEG_TextureCreator_FixedSize:CEG_TextureCreator
|
public class CEG_TextureCreator_FixedSize:RG_TextureCreator
|
||||||
{
|
{
|
||||||
public RDTextureFormat format = RDTexture.DefaultFormat( -1, -1 );
|
public RDTextureFormat format = RDTexture.DefaultFormat( -1, -1 );
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ namespace Rokojori
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CEG_TextureCreator_Reference:CEG_TextureCreator
|
public class CEG_TextureCreator_Reference:RG_TextureCreator
|
||||||
{
|
{
|
||||||
public RDTexture _texture;
|
public RDTexture _texture;
|
||||||
|
|
||||||
|
|
@ -79,11 +79,11 @@ namespace Rokojori
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public class CEG_BufferTexture:RGGraphProcessor, RDGraphTextureSlotInput
|
public class RG_BufferTexture:RGGraphProcessor, RDGraphTextureSlotInput
|
||||||
{
|
{
|
||||||
RDTexture _texture;
|
RDTexture _texture;
|
||||||
|
|
||||||
CEG_TextureCreator _creator;
|
RG_TextureCreator _creator;
|
||||||
|
|
||||||
|
|
||||||
public RDTexture GetTexture()
|
public RDTexture GetTexture()
|
||||||
|
|
@ -96,7 +96,7 @@ namespace Rokojori
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CEG_TextureCreator GetCreator()
|
public RG_TextureCreator GetCreator()
|
||||||
{
|
{
|
||||||
return _creator;
|
return _creator;
|
||||||
}
|
}
|
||||||
|
|
@ -113,35 +113,35 @@ namespace Rokojori
|
||||||
_connectedSlots.Remove( slot );
|
_connectedSlots.Remove( slot );
|
||||||
}
|
}
|
||||||
|
|
||||||
public CEG_BufferTexture( RDGraph graph, CEG_TextureCreator creator ):base( graph )
|
public RG_BufferTexture( RDGraph graph, RG_TextureCreator creator ):base( graph )
|
||||||
{
|
{
|
||||||
_creator = creator;
|
_creator = creator;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CEG_BufferTexture ScreenSize( RDGraph graph, Vector2? scale = null )
|
public static RG_BufferTexture ScreenSize( RDGraph graph, Vector2? scale = null )
|
||||||
{
|
{
|
||||||
var screenSize = new CEG_TextureCreator_ScreenSize();
|
var screenSize = new CEG_TextureCreator_ScreenSize();
|
||||||
screenSize.scale = scale == null ? Vector2.One : (Vector2) scale;
|
screenSize.scale = scale == null ? Vector2.One : (Vector2) scale;
|
||||||
return new CEG_BufferTexture( graph, screenSize );
|
return new RG_BufferTexture( graph, screenSize );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CEG_BufferTexture FixedSize( RDGraph graph )
|
public static RG_BufferTexture FixedSize( RDGraph graph )
|
||||||
{
|
{
|
||||||
return new CEG_BufferTexture( graph, new CEG_TextureCreator_FixedSize() );
|
return new RG_BufferTexture( graph, new CEG_TextureCreator_FixedSize() );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CEG_BufferTexture FixedSize( RDGraph graph, Vector2I size )
|
public static RG_BufferTexture FixedSize( RDGraph graph, Vector2I size )
|
||||||
{
|
{
|
||||||
var creator = new CEG_TextureCreator_FixedSize();
|
var creator = new CEG_TextureCreator_FixedSize();
|
||||||
creator.format.Width = (uint) size.X;
|
creator.format.Width = (uint) size.X;
|
||||||
creator.format.Height = (uint) size.Y;
|
creator.format.Height = (uint) size.Y;
|
||||||
return new CEG_BufferTexture( graph, creator );
|
return new RG_BufferTexture( graph, creator );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CEG_BufferTexture From( RDGraph graph, RDTexture texture )
|
public static RG_BufferTexture From( RDGraph graph, RDTexture texture )
|
||||||
{
|
{
|
||||||
var creator = new CEG_TextureCreator_Reference( texture );
|
var creator = new CEG_TextureCreator_Reference( texture );
|
||||||
var t = new CEG_BufferTexture( graph, creator );
|
var t = new RG_BufferTexture( graph, creator );
|
||||||
t._texture = texture;
|
t._texture = texture;
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_ImageProcessor:RDShaderProcessor
|
public class RG_ImageProcessor:RDShaderProcessor
|
||||||
{
|
{
|
||||||
public readonly CompositorEffectGraphTextureSlot input;
|
public readonly CompositorEffectGraphTextureSlot input;
|
||||||
public readonly CompositorEffectGraphTextureSlot output;
|
public readonly CompositorEffectGraphTextureSlot output;
|
||||||
|
|
||||||
public CEG_ImageProcessor( RDGraph graph, string shaderPath ):base( graph, shaderPath )
|
public RG_ImageProcessor( RDGraph graph, string shaderPath ):base( graph, shaderPath )
|
||||||
{
|
{
|
||||||
input = new CompositorEffectGraphTextureSlot( this );
|
input = new CompositorEffectGraphTextureSlot( this );
|
||||||
output = new CompositorEffectGraphTextureSlot( this );
|
output = new CompositorEffectGraphTextureSlot( this );
|
||||||
|
|
@ -24,7 +24,7 @@ namespace Rokojori
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void SetTextureSlotInputs( CEG_ImageProcessor imageProcessorBefore )
|
public void SetTextureSlotInputs( RG_ImageProcessor imageProcessorBefore )
|
||||||
{
|
{
|
||||||
imageProcessorBefore.input.ConnectTo( input );
|
imageProcessorBefore.input.ConnectTo( input );
|
||||||
imageProcessorBefore.output.ConnectTo( output );
|
imageProcessorBefore.output.ConnectTo( output );
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_ScreenColorTexure:RGGraphProcessor, RDGraphTextureSlotInput
|
public class RG_ScreenColorTexure:RGGraphProcessor, RDGraphTextureSlotInput
|
||||||
{
|
{
|
||||||
RDTexture _texture;
|
RDTexture _texture;
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ namespace Rokojori
|
||||||
_connectedSlots.Remove( slot );
|
_connectedSlots.Remove( slot );
|
||||||
}
|
}
|
||||||
|
|
||||||
public CEG_ScreenColorTexure( RDGraph graph ):base( graph )
|
public RG_ScreenColorTexure( RDGraph graph ):base( graph )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
public override void Process()
|
public override void Process()
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_ScreenDepthTexture:RGGraphProcessor, RDGraphTextureSlotInput
|
public class RG_ScreenDepthTexture:RGGraphProcessor, RDGraphTextureSlotInput
|
||||||
{
|
{
|
||||||
RDTexture _texture;
|
RDTexture _texture;
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ namespace Rokojori
|
||||||
_connectedSlots.Remove( slot );
|
_connectedSlots.Remove( slot );
|
||||||
}
|
}
|
||||||
|
|
||||||
public CEG_ScreenDepthTexture( RDGraph graph ):base( graph )
|
public RG_ScreenDepthTexture( RDGraph graph ):base( graph )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
public override void Process()
|
public override void Process()
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ChromaticBloom:CEG_ImageProcessor
|
public class RG_ChromaticBloom:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/ChromaticBloom/ChromaticBloom.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/ChromaticBloom/ChromaticBloom.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ExtractGlow:CEG_ImageProcessor
|
public class RG_ExtractGlow:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlow/ExtractGlow.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlow/ExtractGlow.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ExtractGlowPartial:CEG_ImageProcessor
|
public class RG_ExtractGlowPartial:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlow/ExtractGlowPartial.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlow/ExtractGlowPartial.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ExtractGlowLine:CEG_ImageProcessor
|
public class RG_ExtractGlowLine:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlowLine/ExtractGlowLine.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/ExtractGlowLine/ExtractGlowLine.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_GhostBloom:CEG_ImageProcessor
|
public class RG_GhostBloom:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/GhostBloom/GhostBloom.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/GhostBloom/GhostBloom.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_GlowAdd:CEG_ImageProcessor
|
public class RG_GlowAdd:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/GlowAdd/GlowAdd.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/GlowAdd/GlowAdd.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_ApplyLuma:CEG_ImageProcessor
|
public class RG_ApplyLuma:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/MaxBloom/ApplyLuma.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/MaxBloom/ApplyLuma.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_MaxBloom:CEG_ImageProcessor
|
public class RG_MaxBloom:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/MaxBloom/MaxBloom.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/MaxBloom/MaxBloom.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_RingBloom:CEG_ImageProcessor
|
public class RG_RingBloom:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/RingBloom/RingBloom.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/RingBloom/RingBloom.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class RG_Streaks:CEG_ImageProcessor
|
public class RG_Streaks:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/Glow/Streaks/Streaks.glsl" );
|
RDGraph.Path( "Nodes/Processors/Glow/Streaks/Streaks.glsl" );
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_JFAAssign:CEG_ImageProcessor
|
public class RG_JFAAssign:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/JFA/JFA_Assign.glsl" );
|
RDGraph.Path( "Nodes/Processors/JFA/JFA_Assign.glsl" );
|
||||||
|
|
||||||
public CEG_JFAAssign( RDGraph graph ):base( graph, shaderPath )
|
public RG_JFAAssign( RDGraph graph ):base( graph, shaderPath )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_JFAInitialize:CEG_ImageProcessor
|
public class RG_JFAInitialize:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/JFA/JFA_Initialize.glsl" );
|
RDGraph.Path( "Nodes/Processors/JFA/JFA_Initialize.glsl" );
|
||||||
|
|
||||||
public CEG_JFAInitialize( RDGraph graph ):base( graph, shaderPath )
|
public RG_JFAInitialize( RDGraph graph ):base( graph, shaderPath )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -4,12 +4,12 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Rokojori
|
namespace Rokojori
|
||||||
{
|
{
|
||||||
public class CEG_JFAIterate:CEG_ImageProcessor
|
public class RG_JFAIterate:RG_ImageProcessor
|
||||||
{
|
{
|
||||||
public static readonly string shaderPath =
|
public static readonly string shaderPath =
|
||||||
RDGraph.Path( "Nodes/Processors/JFA/JFA_Iterate.glsl" );
|
RDGraph.Path( "Nodes/Processors/JFA/JFA_Iterate.glsl" );
|
||||||
|
|
||||||
public CEG_JFAIterate( RDGraph graph ):base( graph, shaderPath )
|
public RG_JFAIterate( RDGraph graph ):base( graph, shaderPath )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue