Soundsystem weiter ausgebaut
18
blight-assets/src/main/resources/MatDefs/GaussianBlur.j3md
Normal 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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
45
blight-assets/src/main/resources/Shaders/GaussianBlur.frag
Normal 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
|
||||
}
|
||||
BIN
blight-assets/src/main/resources/Textures/menu/background.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
blight-assets/src/main/resources/Textures/menu/button.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
blight-assets/src/main/resources/Textures/menu/button_arrow.png
Normal file
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 335 B |
BIN
blight-assets/src/main/resources/Textures/menu/button_quit.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
blight-assets/src/main/resources/Textures/menu/button_save.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
blight-assets/src/main/resources/Textures/menu/item_cell.png
Normal file
|
After Width: | Height: | Size: 410 B |
BIN
blight-assets/src/main/resources/Textures/menu/panel.png
Normal file
|
After Width: | Height: | Size: 428 B |
BIN
blight-assets/src/main/resources/Textures/menu/tab_active.png
Normal file
|
After Width: | Height: | Size: 222 B |
BIN
blight-assets/src/main/resources/Textures/menu/tab_inactive.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
blight-assets/src/main/resources/audio/footsteps/dirt/dirt1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/dirt/dirt2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/dirt/dirt3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/dirt/dirt4.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/grass/gras1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/grass/gras2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/grass/gras3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/grass/gras4.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/rock/rock1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/rock/rock2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/rock/rock3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/rock/rock4.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/sand/sand1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/sand/sand2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/sand/sand3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/sand/sand4.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/sand/sand5.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/steps1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/steps2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/steps3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/steps4.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/wood/wood1.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/wood/wood2.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/wood/wood3.ogg
Normal file
BIN
blight-assets/src/main/resources/audio/footsteps/wood/wood4.ogg
Normal 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"
|
||||
|
||||
1
blight-assets/src/main/resources/localization/de.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
15
blight-assets/src/main/resources/quests/strandgut.quest
Normal 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"
|
||||
}
|
||||