diff --git a/README.md b/README.md index 37d8df3..eaea225 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ To find the folder quickly type "%appdata%\Star Sonata 2\Content" into path wind Shaders only work on Medium, High and Very High graphic settings. Game does not use shaders in rendering on Low settings. #Known Issues -* Lion ship may look dark * Some stations appear to be black (base model has faces pointing to it's inside) diff --git a/src/Textures/Ships/UberZoneShipLion.jpg_NM.png b/src/Textures/Ships/UberZoneShipLion.jpg_NM.png new file mode 100644 index 0000000..f64ee80 Binary files /dev/null and b/src/Textures/Ships/UberZoneShipLion.jpg_NM.png differ diff --git a/src/shaders/ShipMaterialP2.hlsl b/src/shaders/ShipMaterialP2.hlsl index 408f6eb..f4c58f5 100644 --- a/src/shaders/ShipMaterialP2.hlsl +++ b/src/shaders/ShipMaterialP2.hlsl @@ -41,7 +41,7 @@ float4 pixelMain { if (UseNormalMap) { float4 sample = tex2D(NormalMapSampler, TexCoords); - float3 peturbation = saturate(sample.xyz - float3(0.5, 0.5, 0.5)); + float3 peturbation = sample.xyz - float3(0.5, 0.5, 0.5); Normal = float3( peturbation.x * Tangent - diff --git a/src/shaders/ShipMaterialP3.hlsl b/src/shaders/ShipMaterialP3.hlsl index 408f6eb..f4c58f5 100644 --- a/src/shaders/ShipMaterialP3.hlsl +++ b/src/shaders/ShipMaterialP3.hlsl @@ -41,7 +41,7 @@ float4 pixelMain { if (UseNormalMap) { float4 sample = tex2D(NormalMapSampler, TexCoords); - float3 peturbation = saturate(sample.xyz - float3(0.5, 0.5, 0.5)); + float3 peturbation = sample.xyz - float3(0.5, 0.5, 0.5); Normal = float3( peturbation.x * Tangent -