Reviewed shaders comment wording (#4793)

This commit is contained in:
jordan4ibanez
2025-02-25 08:26:52 -05:00
committed by GitHub
parent da8a08006a
commit 7cae259a6d
77 changed files with 77 additions and 77 deletions

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -13,7 +13,7 @@ uniform mat4 mvp;
out vec2 fragTexCoord;
out vec4 fragColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
const vec2 size = vec2(800, 450); // Framebuffer size
const float samples = 5.0; // Pixels per axis; higher = bigger glow, worse performance

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values must be passed from code
const float renderWidth = 800;

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
float hatchOffsetY = 5.0;
float lumThreshold01 = 0.9;

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values must be passed from code
const float renderWidth = 800.0;

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -7,7 +7,7 @@ out vec4 fragColor;
uniform sampler2D texture0;
uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -7,7 +7,7 @@ out vec4 fragColor;
uniform sampler2D texture0;
uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
const float PI = 3.1415926535;

View File

@ -13,7 +13,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
#define MAX_LIGHTS 4
#define LIGHT_DIRECTIONAL 0

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
//out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -13,7 +13,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
#define MAX_LIGHTS 4
#define LIGHT_DIRECTIONAL 0

View File

@ -17,7 +17,7 @@ out vec2 fragTexCoord;
out vec4 fragColor;
out vec3 fragNormal;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -18,7 +18,7 @@ out vec2 fragTexCoord;
out vec4 fragColor;
out vec3 fragNormal;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values must be passed from code
const float renderWidth = 800;

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
float gamma = 0.6;
float numColors = 8.0;

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values must be passed from code
const float renderWidth = 800;

View File

@ -17,7 +17,7 @@ out vec2 fragTexCoord;
out vec4 fragColor;
out vec3 fragNormal;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
void main()
{

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
uniform vec2 resolution = vec2(800, 450);
void main()

View File

@ -7,7 +7,7 @@ in vec4 fragColor;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
#define MAX_SPOTS 3

View File

@ -11,7 +11,7 @@ uniform vec4 colDiffuse;
// Output fragment color
out vec4 finalColor;
// NOTE: Add here your custom variables
// NOTE: Add your custom variables here
// NOTE: Render size values should be passed from code
const float renderWidth = 800;