-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
3,034 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,227 @@ | ||
{ | ||
"title": "Sessions", | ||
"started": "2024-11-16", | ||
"date": "16 November 2024", | ||
"type": "Shader Jam", | ||
"website": "", | ||
"flyer": "", | ||
"vod":"https://www.youtube.com/watch?v=A1-ZTppLfIA&t=21522s", | ||
"software_used": [ | ||
{ | ||
"name": "Bonzomatic", | ||
"url": "https://github.com/wrightwriter/Bonzomatic-Compute/releases/tag/v1.0.1", | ||
"version": "Wrighter Compute - v1", | ||
"purpose": "Graphic" | ||
} | ||
], | ||
"phases": [ | ||
{ | ||
"title": null, | ||
"vod": null, | ||
"entries": [ | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "0b5vr", | ||
"demozoo_id": 128318 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_0b5vr.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_0b5vr.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "aldroid", | ||
"demozoo_id": 63755 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_aldroid.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_aldroid.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "ciosai_tw", | ||
"demozoo_id": 142051 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_ciosai_tw.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_ciosai_tw.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "Kamoshika", | ||
"demozoo_id": 128644 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_Kamoshika.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_Kamoshika.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "kinankomti", | ||
"demozoo_id": null | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_kinankomti.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_kinankomti.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "kostik", | ||
"demozoo_id": null | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_kostik.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_kostik.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "musk", | ||
"demozoo_id": 14411 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_musk.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_musk.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "renard", | ||
"demozoo_id": 137275 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_renard.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_renard.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "totetmatt", | ||
"demozoo_id": 121811 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_totetmatt.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_totetmatt.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "visy", | ||
"demozoo_id": 1301 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_visy.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_visy.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "wbcbz7", | ||
"demozoo_id": 45761 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_wbcbz7.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_wbcbz7.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "wrighter", | ||
"demozoo_id": 113559 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_wrighter.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_wrighter.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "Zavie", | ||
"demozoo_id": 985 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_Zavie.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_Zavie.glsl" | ||
}, | ||
{ | ||
"id": null, | ||
"rank": null, | ||
"points": null, | ||
"handle": { | ||
"name": "Peregrine", | ||
"demozoo_id": 122747 | ||
}, | ||
"shadertoy_url": null, | ||
"preview_image": "2024_11_16_shader_jam_sessions/grabber_sessions_Peregrine.jpg", | ||
"source_file": "/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_Peregrine.glsl" | ||
} | ||
|
||
], | ||
"staffs": [ | ||
{ | ||
"handle": { | ||
"name": "Fl1ne", | ||
"demozoo_id": 24017 | ||
}, | ||
"job": "Commentator" | ||
}, | ||
{ | ||
"handle": { | ||
"name": "gam0022", | ||
"demozoo_id": 63869 | ||
}, | ||
"job": "Commentator" | ||
} | ||
] | ||
} | ||
], | ||
"staffs": [ | ||
{ | ||
"handle": { | ||
"name": "Fl1ne", | ||
"demozoo_id": 24017 | ||
}, | ||
"job": "Organizers" | ||
}, | ||
{ | ||
"handle": { | ||
"name": "Renard", | ||
"demozoo_id": 137275 | ||
}, | ||
"job": "Organizers" | ||
} | ||
], | ||
"demozoo_party_id": 5034 | ||
} |
Binary file added
BIN
+33.7 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_0b5vr.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+201 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_Kamoshika.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+60.5 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_Peregrine.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+200 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_Zavie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+128 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_aldroid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+187 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_ciosai_tw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+185 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_kinankomti.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+120 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_kostik.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+94.6 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_musk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+59.1 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_renard.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+117 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_totetmatt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+99.5 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_visy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.7 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_wbcbz7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+436 KB
public/media/2024_11_16_shader_jam_sessions/grabber_sessions_wrighter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 120 additions & 0 deletions
120
public/shader_file_sources/2024_11_16_shader_jam_sessions/grabber_sessions_0b5vr.glsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
#version 410 core | ||
|
||
#define saturate(x) clamp(x, 0.,1.) | ||
#define linearstep(a,b,t) saturate( ((t)-(a)) / ((b)-(a)) ) | ||
#define repeat(i,n) for(int i=0;i<(n);i++) | ||
|
||
const float PI = acos(-1.); | ||
const float TAU = 2.0 * PI; | ||
|
||
float time; | ||
|
||
uniform float fGlobalTime; // in seconds | ||
uniform vec2 v2Resolution; // viewport resolution (in pixels) | ||
uniform float fFrameTime; // duration of the last frame, in seconds | ||
|
||
uniform sampler1D texFFT; // towards 0.0 is bass / lower freq, towards 1.0 is higher / treble freq | ||
uniform sampler1D texFFTSmoothed; // this one has longer falloff and less harsh transients | ||
uniform sampler1D texFFTIntegrated; // this is continually increasing | ||
uniform sampler2D texPreviousFrame; // screenshot of the previous frame | ||
uniform sampler2D texChecker; | ||
uniform sampler2D texNoise; | ||
uniform sampler2D texTex1; | ||
uniform sampler2D texTex2; | ||
uniform sampler2D texTex3; | ||
uniform sampler2D texTex4; | ||
|
||
layout(location = 0) out vec4 out_color; // out_color must be written in order to see anything | ||
|
||
uvec3 seed; | ||
uvec3 hash3u(uvec3 s){ | ||
s=s*1145141919u+1919810u; | ||
s.x+=s.y*s.z; | ||
s.y+=s.z*s.x; | ||
s.z+=s.x*s.y; | ||
s^=s>>8; | ||
s.x+=s.y*s.z; | ||
s.y+=s.z*s.x; | ||
s.z+=s.x*s.y; | ||
return s; | ||
} | ||
|
||
vec3 hash3f(vec3 s){ | ||
uvec3 r=floatBitsToUint(s); | ||
return vec3(hash3u(r))/float(-1u); | ||
} | ||
|
||
vec3 random3(){ | ||
seed=hash3u(seed); | ||
return vec3(hash3u(seed))/float(-1u); | ||
} | ||
|
||
vec2 cis(float t){ | ||
return vec2(cos(t),sin(t)); | ||
} | ||
|
||
vec3 colorshit(float t) { | ||
return 3.0*(0.5 - 0.5 * cos(TAU * saturate(1.5*t - vec3(0.0, 0.25, 0.5)))); | ||
} | ||
|
||
float ease(float t,float k){ | ||
float tt=fract(1.-t); | ||
float y=(1.+k)*pow(tt,k)-k*pow(tt,k+1.); | ||
return (1.-y)+floor(t); | ||
} | ||
|
||
mat3 orthbas(vec3 z){ | ||
z=normalize(z); | ||
vec3 up=abs(z.y)<.999?vec3(0,1,0):vec3(0,0,1); | ||
vec3 x=normalize(cross(up,z)); | ||
return mat3(x,cross(z,x),z); | ||
} | ||
|
||
vec3 cyclic(vec3 p,float pers,float lacu){ | ||
mat3 b=orthbas(vec3(3,2,-1)); | ||
vec4 sum=vec4(0); | ||
repeat(i,5){ | ||
p+=sin(p.yzx); | ||
sum+=vec4( | ||
cross(sin(p.zxy),cos(p)), | ||
1.0 | ||
); | ||
sum/=pers; | ||
p*=lacu; | ||
} | ||
return sum.xyz/sum.w; | ||
} | ||
|
||
float sdbox2(vec2 p,vec2 s){ | ||
vec2 d=abs(p)-s; | ||
return min(max(d.x,d.y),0.)+length(max(d,0.0)); | ||
} | ||
|
||
void main(void) { | ||
vec2 uv = vec2(gl_FragCoord.x / v2Resolution.x, gl_FragCoord.y / v2Resolution.y); | ||
vec2 p = uv*2.-1.; | ||
p.x*=v2Resolution.x/v2Resolution.y; | ||
float deltap=1.0/v2Resolution.y; | ||
|
||
time = fGlobalTime; | ||
seed=floatBitsToUint(vec3(uv,time)); | ||
|
||
vec3 col=vec3(0.0); | ||
|
||
repeat(i, 32) { | ||
float delay=(float(i)+random3().x)/32.; | ||
float tt=time-0.5*delay; | ||
tt*=140.0/60.; | ||
float ta=mix(tt,ease(tt,6.),0.8); | ||
vec3 cmod=colorshit(delay); | ||
float d=sdbox2((p-.5+100.0*p.y),vec2(.2)); | ||
float shape=linearstep(deltap,-deltap,d); | ||
float noise=cyclic(vec3(p,ta),0.9,1.5).x; | ||
noise=0.5+0.5*noise; | ||
//noise*=(1.-.4*length(p)); | ||
float shit=shape+noise; | ||
col+=cmod*shit/32.; | ||
} | ||
|
||
out_color = vec4(col,1); | ||
} |
Oops, something went wrong.