Skip to content

Commit

Permalink
Merge pull request #5 from harfang3d/3-2-3
Browse files Browse the repository at this point in the history
Core assets update for v3.2.3.
  • Loading branch information
astrofra authored Jul 25, 2022
2 parents 6499b97 + 1f2285a commit 73b0418
Show file tree
Hide file tree
Showing 48 changed files with 69 additions and 10 deletions.
1 change: 1 addition & 0 deletions resources/core/shader/a_trous_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/a_trous_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/aaa_downsample_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/aaa_downsample_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/aaa_upsample_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_input, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/aaa_upsample_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/aaa_utils.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_combine_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_source, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_combine_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_downsample_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_source, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_downsample_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

uniform vec4 u_source_rect;
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_threshold_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

uniform vec4 u_params;
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_threshold_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_upsample_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_source, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/bloom_upsample_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

uniform vec4 u_source_rect;
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/compositing_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_copyColor, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/compositing_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/copy_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

SAMPLER2D(u_copyColor, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/copy_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
7 changes: 4 additions & 3 deletions resources/core/shader/default_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

// Surface attributes
Expand Down Expand Up @@ -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);
Expand All @@ -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
}
1 change: 1 addition & 0 deletions resources/core/shader/default_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

mat3 normal_mat(mat4 m) {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/denoise_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/font_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

uniform vec4 u_color;
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/font_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
24 changes: 17 additions & 7 deletions resources/core/shader/forward_pipeline.sh
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

#define PI 3.14159265359
Expand Down Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/hiz_trace.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/imgui_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

SAMPLER2D(s_tex, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/imgui_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main()
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/missing_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/missing_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/motion_blur_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/motion_blur_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
3 changes: 3 additions & 0 deletions resources/core/shader/pbr_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

// Surface attributes
Expand Down Expand Up @@ -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
}
1 change: 1 addition & 0 deletions resources/core/shader/pbr_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

mat3 normal_mat(mat4 m) {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_blur_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_attr0, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_blur_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_compute_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_attr0, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_compute_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_upsample_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_attr0, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/sao_upsample_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/ssgi_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/ssgi_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

#define uv_ratio vec2_splat(uAAAParams[0].x)
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/ssr_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/ssr_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/taa_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_color, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/taa_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <bgfx_shader.sh>

void main() {
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/temporal_accumulation_fs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

SAMPLER2D(u_current, 0);
Expand Down
1 change: 1 addition & 0 deletions resources/core/shader/temporal_accumulation_vs.sc
Original file line number Diff line number Diff line change
@@ -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 <forward_pipeline.sh>

void main() {
Expand Down

0 comments on commit 73b0418

Please sign in to comment.