Upload Render Stuff (Textures, Lightning Shader, material.json)
This commit is contained in:
@@ -466,7 +466,10 @@ vec3 ApplyClusteredLights(const vec3 mapNormal, const vec3 eyeV, const vec3 F0,
|
|||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
float fogFactor = 0;
|
float fogFactor = 0;
|
||||||
|
bool enableFog = false;
|
||||||
if (enableFog && fogMode > 0)
|
if (enableFog && fogMode > 0)
|
||||||
{
|
{
|
||||||
//Radial fog
|
//Radial fog
|
||||||
@@ -542,14 +545,21 @@ void main(void)
|
|||||||
vec3 mapNormal;
|
vec3 mapNormal;
|
||||||
if (enableNormalMaps)
|
if (enableNormalMaps)
|
||||||
{
|
{
|
||||||
vec3 textureNormal = texture2D(normalMap, texCoordsProcessed).rgb;
|
vec3 textureNormal = texture2D(normalMap, texCoordsProcessed).rgb;
|
||||||
textureNormal.xy = (textureNormal.rg * 2.0 - 1.0);
|
textureNormal.g = 1.0 - textureNormal.g; // Invertiere den grünen Kanal für OpenGL
|
||||||
textureNormal.z = sqrt(1.0-dot(textureNormal.xy,textureNormal.xy));
|
|
||||||
mapNormal = normalize(textureNormal.xyz);
|
// Verstärkung der Normal Map Intensität
|
||||||
|
float intensity = 2.0; // Faktor zur Verstärkung, passe diesen Wert nach Bedarf an
|
||||||
|
textureNormal.xy = (textureNormal.rg * 2.0 - 1.0) * intensity;
|
||||||
|
|
||||||
|
// Rekalkuliere die Z-Komponente und normalisiere die Normal Map
|
||||||
|
textureNormal.z = sqrt(max(0.0, 1.0 - dot(textureNormal.xy, textureNormal.xy)));
|
||||||
|
mapNormal = normalize(textureNormal);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
mapNormal = normal;
|
mapNormal = normal;
|
||||||
|
|
||||||
|
|
||||||
lightSum+=vec4(((matEmissiveColor.rgb))* firstTexture.rgb, alpha);
|
lightSum+=vec4(((matEmissiveColor.rgb))* firstTexture.rgb, alpha);
|
||||||
|
|
||||||
float metalness;
|
float metalness;
|
||||||
|
|||||||
BIN
FLARDATA/Textures/HeightMaps/Alien_organic000.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/Alien_organic000.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/STADTL1_256.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/STADTL1_256.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ast_ice01_outside.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ast_ice01_outside.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ast_icecrystal.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ast_icecrystal.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bad_obsidian.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bad_obsidian.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb1_lod1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb1_lod1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb2_lod1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/bhvhf01_turb2_lod1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ice asteroid.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ice asteroid.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ice_block.dds.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ice_block.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ice_block.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ice_block.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/ice_carbon.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/ice_carbon.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/lavastroid.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/lavastroid.tga.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/mineable.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/mineable.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/mineable_beryl.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/mineable_beryl.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/mineable_plain.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/mineable_plain.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/minedout.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/minedout.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/nomad_01.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/nomad_01.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/rock3c.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/rock3c.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/uranium_tile.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/uranium_tile.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/HeightMaps/uranium_tile1.tga.dds
Normal file
BIN
FLARDATA/Textures/HeightMaps/uranium_tile1.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/MetalnessMaps/ast_ice01_outside.dds.dds
Normal file
BIN
FLARDATA/Textures/MetalnessMaps/ast_ice01_outside.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/MetalnessMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/Alien_organic000.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/Alien_organic000.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/STADTL1_256.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/STADTL1_256.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ast_ice01_outside.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ast_ice01_outside.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ast_icecrystal.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ast_icecrystal.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bad_obsidian.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bad_obsidian.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb1_lod1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb1_lod1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb2_lod1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/bhvhf01_turb2_lod1_albedo.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ice asteroid.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ice asteroid.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ice_block.dds.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ice_block.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ice_block.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ice_block.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/ice_carbon.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/ice_carbon.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/lavastroid.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/lavastroid.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/mineable.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/mineable.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/mineable_beryl.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/mineable_beryl.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/mineable_plain.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/mineable_plain.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/minedout.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/minedout.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/nomad_01.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/nomad_01.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/rock3c.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/rock3c.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/uranium_tile.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/uranium_tile.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/NormalMaps/uranium_tile1.tga.dds
Normal file
BIN
FLARDATA/Textures/NormalMaps/uranium_tile1.tga.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/ast_ice01_outside.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/ast_ice01_outside.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_eng_in_lt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_eng_in_rt_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_turb1_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/bhvhf01_turb2_albedo.dds.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/m_hatch01.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/m_hatch01.dds.dds
Normal file
Binary file not shown.
BIN
FLARDATA/Textures/RoughnessMaps/m_panels.dds.dds
Normal file
BIN
FLARDATA/Textures/RoughnessMaps/m_panels.dds.dds
Normal file
Binary file not shown.
@@ -543,6 +543,7 @@
|
|||||||
"ast_icecrystal.tga",
|
"ast_icecrystal.tga",
|
||||||
"ice asteroid.tga",
|
"ice asteroid.tga",
|
||||||
"ice_block.tga",
|
"ice_block.tga",
|
||||||
|
"ice_block.dds",
|
||||||
"ice_carbon.tga",
|
"ice_carbon.tga",
|
||||||
"order base_snow straight.tga021126124128",
|
"order base_snow straight.tga021126124128",
|
||||||
"order base_snow in corner.tga021126124128"
|
"order base_snow in corner.tga021126124128"
|
||||||
@@ -591,6 +592,7 @@
|
|||||||
"uranium_tile.tga",
|
"uranium_tile.tga",
|
||||||
"uranium_tile1.tga",
|
"uranium_tile1.tga",
|
||||||
"mineable_beryl.tga"
|
"mineable_beryl.tga"
|
||||||
|
"mineable.tga"
|
||||||
],
|
],
|
||||||
"Metalness": 0.0,
|
"Metalness": 0.0,
|
||||||
"Roughness": 0.9,
|
"Roughness": 0.9,
|
||||||
@@ -598,28 +600,84 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"TextureName": "STADTL2_256.TGA",
|
"TextureName": "STADTL2_256.TGA",
|
||||||
"Roughness": 0.639,
|
"Roughness": 0.5,
|
||||||
"Metalness": 0.479
|
"Metalness": 0.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"TextureName": "STADTL3_256.TGA",
|
"TextureName": "STADTL3_256.TGA",
|
||||||
"Roughness": 0.529,
|
"Roughness": 0.5,
|
||||||
"Metalness": 0.55
|
"Metalness": 0.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"TextureName": "STADTL1_256.tga",
|
"TextureName": "STADTL1_256.tga",
|
||||||
"Roughness": 0.509,
|
"Roughness": 0.5,
|
||||||
"Metalness": 0.5
|
"Metalness": 0.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"TextureName": "m_panels.dds",
|
"TextureName": "m_panels.dds",
|
||||||
"Roughness": 0.459,
|
"Roughness": 0.5,
|
||||||
"Metalness": 0.1
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "dyson_skin05.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5,
|
||||||
|
"RoughnessTextureBias": 0.03
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "ast_ice01_outside.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5,
|
||||||
|
"RoughnessTextureBias": 0.03
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "Alien_organic000.dds",
|
||||||
|
"Roughness": 0.459
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_eng_in_lt_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_eng_in_lt_lod1_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_eng_in_rt_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_eng_in_rt_lod1_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_turb1_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_turb1_lod1_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_turb2_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"TextureName": "bhvhf01_turb2_lod1_albedo.dds",
|
||||||
|
"Roughness": 0.5,
|
||||||
|
"Metalness": 0.5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"TextureName": "m_hatch01.dds",
|
"TextureName": "m_hatch01.dds",
|
||||||
"Roughness": 0.459,
|
"Roughness": 0.5,
|
||||||
"Metalness": 0.1
|
"Metalness": 0.5
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user