Soundsystem weiter ausgebaut

This commit is contained in:
2026-07-05 10:39:32 +02:00
parent 63aa7aa104
commit 66d7956a28
273 changed files with 6045 additions and 2625 deletions

View File

@@ -0,0 +1,18 @@
MaterialDef GaussianBlur {
MaterialParameters {
Texture2D Texture
Float BlurScale : 6.0
Int NumSamples
Int NumSamplesDepth
Texture2D DepthTexture
}
Technique {
VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
FragmentShader GLSL150: Shaders/GaussianBlur.frag
WorldParameters {
}
}
}

View File

@@ -0,0 +1,45 @@
#import "Common/ShaderLib/GLSLCompat.glsllib"
uniform sampler2D m_Texture;
uniform float m_BlurScale;
in vec2 texCoord;
// 5x5 Gauß-Kernel (σ≈1.2, vollständig normiert)
void main() {
vec2 ts = m_BlurScale / vec2(textureSize(m_Texture, 0));
vec4 c = vec4(0.0);
c += texture2D(m_Texture, texCoord + vec2(-2.0, -2.0) * ts) * 0.00731;
c += texture2D(m_Texture, texCoord + vec2(-1.0, -2.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2( 0.0, -2.0) * ts) * 0.02936;
c += texture2D(m_Texture, texCoord + vec2( 1.0, -2.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2( 2.0, -2.0) * ts) * 0.00731;
c += texture2D(m_Texture, texCoord + vec2(-2.0, -1.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2(-1.0, -1.0) * ts) * 0.05890;
c += texture2D(m_Texture, texCoord + vec2( 0.0, -1.0) * ts) * 0.08334;
c += texture2D(m_Texture, texCoord + vec2( 1.0, -1.0) * ts) * 0.05890;
c += texture2D(m_Texture, texCoord + vec2( 2.0, -1.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2(-2.0, 0.0) * ts) * 0.02936;
c += texture2D(m_Texture, texCoord + vec2(-1.0, 0.0) * ts) * 0.08334;
c += texture2D(m_Texture, texCoord + vec2( 0.0, 0.0) * ts) * 0.11792;
c += texture2D(m_Texture, texCoord + vec2( 1.0, 0.0) * ts) * 0.08334;
c += texture2D(m_Texture, texCoord + vec2( 2.0, 0.0) * ts) * 0.02936;
c += texture2D(m_Texture, texCoord + vec2(-2.0, 1.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2(-1.0, 1.0) * ts) * 0.05890;
c += texture2D(m_Texture, texCoord + vec2( 0.0, 1.0) * ts) * 0.08334;
c += texture2D(m_Texture, texCoord + vec2( 1.0, 1.0) * ts) * 0.05890;
c += texture2D(m_Texture, texCoord + vec2( 2.0, 1.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2(-2.0, 2.0) * ts) * 0.00731;
c += texture2D(m_Texture, texCoord + vec2(-1.0, 2.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2( 0.0, 2.0) * ts) * 0.02936;
c += texture2D(m_Texture, texCoord + vec2( 1.0, 2.0) * ts) * 0.02075;
c += texture2D(m_Texture, texCoord + vec2( 2.0, 2.0) * ts) * 0.00731;
gl_FragColor = c; // Gewichte summieren sich auf 1.0
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

View File

@@ -1,5 +1,54 @@
{
"status": "NEUTRAL",
"trader": false,
"currentOptions": [
{
"id": "5a9821c8-f0f3-49c2-a570-9b68e819b46a",
"label": "First Contact",
"requiresChapter": 0,
"requiresStatus": "NEUTRAL",
"textHero": {
"id": "Hi! Ich suche einen Weg von diesem Strand."
},
"textNpc": {
"id": "Woher kommst du?"
},
"nextOptions": [
{
"id": "f78aa61f-8532-4b64-8f0e-c90ff0e92760",
"label": "Test1",
"requiresChapter": 0,
"textHero": {
"id": "test"
},
"textNpc": {
"id": "test"
},
"nextOptions": [
{
"id": "0114af85-986f-4923-b77e-88529b868c0f",
"label": "test2",
"requiresChapter": 0,
"textHero": {
"id": "test"
},
"textNpc": {
"id": "test"
},
"abortsQuests": [],
"enablesTrade": false
}
],
"abortsQuests": [],
"enablesTrade": false
}
],
"abortsQuests": [],
"enablesTrade": false
}
],
"defaultMessages": {},
"routines": [],
"characterId": "silas",
"name": {
"id": "silas.name"

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,15 @@
{
"count": 1,
"xp": 100,
"questId": "strandgut",
"text": {
"id": "strandgut.name"
},
"description": {
"id": "strandgut.description"
},
"successText": {
"id": "strandgut.successmassage"
},
"type": "ITEM"
}