diff --git a/resources/core/shader/a_trous_fs.sc b/resources/core/shader/a_trous_fs.sc index 1f5a1d2..ed154ad 100644 --- a/resources/core/shader/a_trous_fs.sc +++ b/resources/core/shader/a_trous_fs.sc @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/a_trous_vs.sc b/resources/core/shader/a_trous_vs.sc index 1b87b56..ef6ecd0 100644 --- a/resources/core/shader/a_trous_vs.sc +++ b/resources/core/shader/a_trous_vs.sc @@ -1,5 +1,6 @@ $input a_position +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/aaa_downsample_fs.sc b/resources/core/shader/aaa_downsample_fs.sc index 735bc27..72b4144 100644 --- a/resources/core/shader/aaa_downsample_fs.sc +++ b/resources/core/shader/aaa_downsample_fs.sc @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/aaa_downsample_vs.sc b/resources/core/shader/aaa_downsample_vs.sc index 1b87b56..ef6ecd0 100644 --- a/resources/core/shader/aaa_downsample_vs.sc +++ b/resources/core/shader/aaa_downsample_vs.sc @@ -1,5 +1,6 @@ $input a_position +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/aaa_upsample_fs.sc b/resources/core/shader/aaa_upsample_fs.sc index 792d52c..2567d83 100644 --- a/resources/core/shader/aaa_upsample_fs.sc +++ b/resources/core/shader/aaa_upsample_fs.sc @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_input, 0); diff --git a/resources/core/shader/aaa_upsample_vs.sc b/resources/core/shader/aaa_upsample_vs.sc index 1b87b56..ef6ecd0 100644 --- a/resources/core/shader/aaa_upsample_vs.sc +++ b/resources/core/shader/aaa_upsample_vs.sc @@ -1,5 +1,6 @@ $input a_position +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/aaa_utils.sh b/resources/core/shader/aaa_utils.sh index 973ed52..d0585d4 100644 --- a/resources/core/shader/aaa_utils.sh +++ b/resources/core/shader/aaa_utils.sh @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #ifndef AAA_UTILS_SH_HEADER_GUARD #define AAA_UTILS_SH_HEADER_GUARD diff --git a/resources/core/shader/bloom_combine_fs.sc b/resources/core/shader/bloom_combine_fs.sc index 9c1b80d..d6abacb 100644 --- a/resources/core/shader/bloom_combine_fs.sc +++ b/resources/core/shader/bloom_combine_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_source, 0); diff --git a/resources/core/shader/bloom_combine_vs.sc b/resources/core/shader/bloom_combine_vs.sc index 0aa174c..a8521fe 100644 --- a/resources/core/shader/bloom_combine_vs.sc +++ b/resources/core/shader/bloom_combine_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/bloom_downsample_fs.sc b/resources/core/shader/bloom_downsample_fs.sc index e142d0f..f418d95 100644 --- a/resources/core/shader/bloom_downsample_fs.sc +++ b/resources/core/shader/bloom_downsample_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_source, 0); diff --git a/resources/core/shader/bloom_downsample_vs.sc b/resources/core/shader/bloom_downsample_vs.sc index e70a81b..47acae3 100644 --- a/resources/core/shader/bloom_downsample_vs.sc +++ b/resources/core/shader/bloom_downsample_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include uniform vec4 u_source_rect; diff --git a/resources/core/shader/bloom_threshold_fs.sc b/resources/core/shader/bloom_threshold_fs.sc index 7ef6e64..88731d7 100644 --- a/resources/core/shader/bloom_threshold_fs.sc +++ b/resources/core/shader/bloom_threshold_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include uniform vec4 u_params; diff --git a/resources/core/shader/bloom_threshold_vs.sc b/resources/core/shader/bloom_threshold_vs.sc index 8a1f333..7519a3d 100644 --- a/resources/core/shader/bloom_threshold_vs.sc +++ b/resources/core/shader/bloom_threshold_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/bloom_upsample_fs.sc b/resources/core/shader/bloom_upsample_fs.sc index 313f708..d121004 100644 --- a/resources/core/shader/bloom_upsample_fs.sc +++ b/resources/core/shader/bloom_upsample_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_source, 0); diff --git a/resources/core/shader/bloom_upsample_vs.sc b/resources/core/shader/bloom_upsample_vs.sc index 6f3cd94..df637d9 100644 --- a/resources/core/shader/bloom_upsample_vs.sc +++ b/resources/core/shader/bloom_upsample_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include uniform vec4 u_source_rect; diff --git a/resources/core/shader/compositing_fs.sc b/resources/core/shader/compositing_fs.sc index d7b63fa..c22ffcf 100644 --- a/resources/core/shader/compositing_fs.sc +++ b/resources/core/shader/compositing_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_copyColor, 0); diff --git a/resources/core/shader/compositing_vs.sc b/resources/core/shader/compositing_vs.sc index 7a95b22..38cbd27 100644 --- a/resources/core/shader/compositing_vs.sc +++ b/resources/core/shader/compositing_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/copy_fs.sc b/resources/core/shader/copy_fs.sc index 493ea49..3f7b43f 100644 --- a/resources/core/shader/copy_fs.sc +++ b/resources/core/shader/copy_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_copyColor, 0); diff --git a/resources/core/shader/copy_vs.sc b/resources/core/shader/copy_vs.sc index 7a95b22..38cbd27 100644 --- a/resources/core/shader/copy_vs.sc +++ b/resources/core/shader/copy_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/default_fs.sc b/resources/core/shader/default_fs.sc index 1bc97ac..5a50f59 100644 --- a/resources/core/shader/default_fs.sc +++ b/resources/core/shader/default_fs.sc @@ -1,5 +1,6 @@ $input vWorldPos, vNormal, vTangent, vBinormal, vTexCoord0, vTexCoord1, vLinearShadowCoord0, vLinearShadowCoord1, vLinearShadowCoord2, vLinearShadowCoord3, vSpotShadowCoord, vProjPos, vPrevProjPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include // Surface attributes @@ -223,9 +224,7 @@ void main() { float opacity = 1.0; #endif // USE_OPACITY_MAP -#if DEPTH_ONLY - ; -#else // DEPTH_ONLY +#if DEPTH_ONLY != 1 #if FORWARD_PIPELINE_AAA_PREPASS vec3 N_view = mul(u_view, vec4(N, 0)).xyz; vec2 velocity = vec2(vProjPos.xy / vProjPos.w - vPrevProjPos.xy / vPrevProjPos.w); @@ -240,5 +239,7 @@ void main() { gl_FragColor = vec4(color, opacity); #endif // FORWARD_PIPELINE_AAA_PREPASS +#else + gl_FragColor = vec4_splat(0.0); // note: fix required to stop glsl-optimizer from removing the whole function body #endif // DEPTH_ONLY } diff --git a/resources/core/shader/default_vs.sc b/resources/core/shader/default_vs.sc index b509d2b..c54388c 100644 --- a/resources/core/shader/default_vs.sc +++ b/resources/core/shader/default_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_normal, a_texcoord0, a_texcoord1, a_tangent, a_bitangent, a_indices, a_weight $output vWorldPos, vNormal, vTexCoord0, vTexCoord1, vTangent, vBinormal, vLinearShadowCoord0, vLinearShadowCoord1, vLinearShadowCoord2, vLinearShadowCoord3, vSpotShadowCoord, vProjPos, vPrevProjPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include mat3 normal_mat(mat4 m) { diff --git a/resources/core/shader/denoise_vs.sc b/resources/core/shader/denoise_vs.sc index aff3c54..8a5a43d 100644 --- a/resources/core/shader/denoise_vs.sc +++ b/resources/core/shader/denoise_vs.sc @@ -1,5 +1,6 @@ $input a_position +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/font_fs.sc b/resources/core/shader/font_fs.sc index e6289c2..7bfc6fa 100644 --- a/resources/core/shader/font_fs.sc +++ b/resources/core/shader/font_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include uniform vec4 u_color; diff --git a/resources/core/shader/font_vs.sc b/resources/core/shader/font_vs.sc index 0cfa264..569636a 100644 --- a/resources/core/shader/font_vs.sc +++ b/resources/core/shader/font_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/forward_pipeline.sh b/resources/core/shader/forward_pipeline.sh index e4bda47..a7fd130 100644 --- a/resources/core/shader/forward_pipeline.sh +++ b/resources/core/shader/forward_pipeline.sh @@ -1,3 +1,7 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. + +// DO NOT MODIFY THIS FILE! + #include #define PI 3.14159265359 @@ -38,13 +42,19 @@ uniform mat4 uProbeMatrix; uniform mat4 uInvProbeMatrix; uniform vec4 uProbeData; -SAMPLERCUBE(uIrradianceMap, 7); -SAMPLERCUBE(uRadianceMap, 8); -SAMPLER2D(uSSIrradianceMap, 9); -SAMPLER2D(uSSRadianceMap, 10); -SAMPLER2D(uBrdfMap, 11); -SAMPLER2D(uNoiseMap, 12); -SAMPLER2D(uAmbientOcclusion, 13); +/* + Reserved texture units for the AAA forward pipeline. + Do not modify these slots, they are hardcoded on the C++ side. + + If reserving new slots for the pipeline please keep in mind WebGL limitations: https://webglreport.com/?v=2 + At the moment it is not advisable to use texture units beyond 16 for embedded platforms. +*/ +SAMPLERCUBE(uIrradianceMap, 8); +SAMPLERCUBE(uRadianceMap, 9); +SAMPLER2D(uSSIrradianceMap, 10); +SAMPLER2D(uSSRadianceMap, 11); +SAMPLER2D(uBrdfMap, 12); +SAMPLER2D(uNoiseMap, 13); SAMPLER2DSHADOW(uLinearShadowMap, 14); SAMPLER2DSHADOW(uSpotShadowMap, 15); diff --git a/resources/core/shader/hiz_trace.sh b/resources/core/shader/hiz_trace.sh index c96f915..cf8aeb6 100644 --- a/resources/core/shader/hiz_trace.sh +++ b/resources/core/shader/hiz_trace.sh @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #ifndef HIZ_TRACE_SH_HEADER_GUARD #define HIZ_TRACE_SH_HEADER_GUARD diff --git a/resources/core/shader/imgui_fs.sc b/resources/core/shader/imgui_fs.sc index 90483c5..9f14940 100644 --- a/resources/core/shader/imgui_fs.sc +++ b/resources/core/shader/imgui_fs.sc @@ -1,5 +1,6 @@ $input v_color0, v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(s_tex, 0); diff --git a/resources/core/shader/imgui_vs.sc b/resources/core/shader/imgui_vs.sc index 9cc137a..f50f0d6 100644 --- a/resources/core/shader/imgui_vs.sc +++ b/resources/core/shader/imgui_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0, a_color0 $output v_color0, v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() diff --git a/resources/core/shader/missing_fs.sc b/resources/core/shader/missing_fs.sc index d740a92..0c09174 100644 --- a/resources/core/shader/missing_fs.sc +++ b/resources/core/shader/missing_fs.sc @@ -1,5 +1,6 @@ $input vWorldPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/missing_vs.sc b/resources/core/shader/missing_vs.sc index e2b8bb5..fd9b4fc 100644 --- a/resources/core/shader/missing_vs.sc +++ b/resources/core/shader/missing_vs.sc @@ -1,6 +1,7 @@ $input a_position $output vWorldPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/motion_blur_fs.sc b/resources/core/shader/motion_blur_fs.sc index d95f847..fea5d93 100644 --- a/resources/core/shader/motion_blur_fs.sc +++ b/resources/core/shader/motion_blur_fs.sc @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/motion_blur_vs.sc b/resources/core/shader/motion_blur_vs.sc index 634540d..968f4f2 100644 --- a/resources/core/shader/motion_blur_vs.sc +++ b/resources/core/shader/motion_blur_vs.sc @@ -1,5 +1,6 @@ $input a_position, a_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/pbr_fs.sc b/resources/core/shader/pbr_fs.sc index 50c0549..69ba38b 100644 --- a/resources/core/shader/pbr_fs.sc +++ b/resources/core/shader/pbr_fs.sc @@ -1,5 +1,6 @@ $input vWorldPos, vNormal, vTangent, vBinormal, vTexCoord0, vTexCoord1, vLinearShadowCoord0, vLinearShadowCoord1, vLinearShadowCoord2, vLinearShadowCoord3, vSpotShadowCoord, vProjPos, vPrevProjPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include // Surface attributes @@ -292,5 +293,7 @@ void main() { gl_FragColor = vec4(color, opacity); #endif // FORWARD_PIPELINE_AAA_PREPASS +#else + gl_FragColor = vec4_splat(0.0); // note: fix required to stop glsl-optimizer from removing the whole function body #endif // DEPTH_ONLY } diff --git a/resources/core/shader/pbr_vs.sc b/resources/core/shader/pbr_vs.sc index f1b2ab9..2582a33 100644 --- a/resources/core/shader/pbr_vs.sc +++ b/resources/core/shader/pbr_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_normal, a_texcoord0, a_texcoord1, a_tangent, a_bitangent, a_indices, a_weight $output vWorldPos, vNormal, vTexCoord0, vTexCoord1, vTangent, vBinormal, vLinearShadowCoord0, vLinearShadowCoord1, vLinearShadowCoord2, vLinearShadowCoord3, vSpotShadowCoord, vProjPos, vPrevProjPos +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include mat3 normal_mat(mat4 m) { diff --git a/resources/core/shader/sao_blur_fs.sc b/resources/core/shader/sao_blur_fs.sc index 76d6f51..f16bde6 100644 --- a/resources/core/shader/sao_blur_fs.sc +++ b/resources/core/shader/sao_blur_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_attr0, 0); diff --git a/resources/core/shader/sao_blur_vs.sc b/resources/core/shader/sao_blur_vs.sc index 8a1f333..7519a3d 100644 --- a/resources/core/shader/sao_blur_vs.sc +++ b/resources/core/shader/sao_blur_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/sao_compute_fs.sc b/resources/core/shader/sao_compute_fs.sc index 1ca9cf0..d17d46e 100644 --- a/resources/core/shader/sao_compute_fs.sc +++ b/resources/core/shader/sao_compute_fs.sc @@ -1,5 +1,6 @@ $input v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_attr0, 0); diff --git a/resources/core/shader/sao_compute_vs.sc b/resources/core/shader/sao_compute_vs.sc index 3076def..d02de49 100644 --- a/resources/core/shader/sao_compute_vs.sc +++ b/resources/core/shader/sao_compute_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/sao_upsample_fs.sc b/resources/core/shader/sao_upsample_fs.sc index 1d0c13e..4b16028 100644 --- a/resources/core/shader/sao_upsample_fs.sc +++ b/resources/core/shader/sao_upsample_fs.sc @@ -1,5 +1,6 @@ $input v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_attr0, 0); diff --git a/resources/core/shader/sao_upsample_vs.sc b/resources/core/shader/sao_upsample_vs.sc index 8a1f333..7519a3d 100644 --- a/resources/core/shader/sao_upsample_vs.sc +++ b/resources/core/shader/sao_upsample_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output v_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/ssgi_fs.sc b/resources/core/shader/ssgi_fs.sc index f8294fb..efd98fa 100644 --- a/resources/core/shader/ssgi_fs.sc +++ b/resources/core/shader/ssgi_fs.sc @@ -1,5 +1,6 @@ $input vTexCoord0, v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/ssgi_vs.sc b/resources/core/shader/ssgi_vs.sc index af73283..6b7fbcf 100644 --- a/resources/core/shader/ssgi_vs.sc +++ b/resources/core/shader/ssgi_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output vTexCoord0, v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include #define uv_ratio vec2_splat(uAAAParams[0].x) diff --git a/resources/core/shader/ssr_fs.sc b/resources/core/shader/ssr_fs.sc index 6c693e7..9207050 100644 --- a/resources/core/shader/ssr_fs.sc +++ b/resources/core/shader/ssr_fs.sc @@ -1,5 +1,6 @@ $input vTexCoord0, v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/ssr_vs.sc b/resources/core/shader/ssr_vs.sc index 1636a1d..6b33b32 100644 --- a/resources/core/shader/ssr_vs.sc +++ b/resources/core/shader/ssr_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output vTexCoord0, v_viewRay +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/taa_fs.sc b/resources/core/shader/taa_fs.sc index 8237b94..bcf820c 100644 --- a/resources/core/shader/taa_fs.sc +++ b/resources/core/shader/taa_fs.sc @@ -1,3 +1,4 @@ +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_color, 0); diff --git a/resources/core/shader/taa_vs.sc b/resources/core/shader/taa_vs.sc index 810238b..4747f03 100644 --- a/resources/core/shader/taa_vs.sc +++ b/resources/core/shader/taa_vs.sc @@ -1,5 +1,6 @@ $input a_position, a_texcoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() { diff --git a/resources/core/shader/temporal_accumulation_fs.sc b/resources/core/shader/temporal_accumulation_fs.sc index e850fd0..d8a3eb1 100644 --- a/resources/core/shader/temporal_accumulation_fs.sc +++ b/resources/core/shader/temporal_accumulation_fs.sc @@ -1,5 +1,6 @@ $input vTexCoord0 +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include SAMPLER2D(u_current, 0); diff --git a/resources/core/shader/temporal_accumulation_vs.sc b/resources/core/shader/temporal_accumulation_vs.sc index 9e87523..a85563e 100644 --- a/resources/core/shader/temporal_accumulation_vs.sc +++ b/resources/core/shader/temporal_accumulation_vs.sc @@ -1,6 +1,7 @@ $input a_position, a_texcoord0 $output vTexCoord0, +// HARFANG(R) Copyright (C) 2022 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include void main() {