mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 07:47:57 +03:00
Fixed particles being canceled by fog bulbs
This commit is contained in:
parent
4ed26b1c2d
commit
092346925e
3 changed files with 9 additions and 3 deletions
|
@ -3,7 +3,13 @@
|
|||
The dates are in European standard format where date is presented as **YYYY-MM-DD**.
|
||||
TombEngine releases are located in this repository (alongside with Tomb Editor): https://github.com/TombEngine/TombEditorReleases
|
||||
|
||||
## [Version 1.8](link to release) - yyyy-mm-dd
|
||||
## [Version 1.8.1](link to release) - yyyy-mm-dd
|
||||
|
||||
### Bug fixes
|
||||
* Fixed particles remaining in the level after reloading from the savegame.
|
||||
* Fixed particles being canceled by fog bulbs.
|
||||
|
||||
## [Version 1.8](https://github.com/TombEngine/TombEditorReleases/releases/tag/v1.8) - 2025-03-16
|
||||
|
||||
### Bug fixes
|
||||
* Improved engine performance up to 20%.
|
||||
|
|
|
@ -106,7 +106,7 @@ float4 PS(PixelShaderInput input) : SV_TARGET
|
|||
output.w = min(output.w, fade);
|
||||
}
|
||||
|
||||
output.xyz -= float3(input.FogBulbs.w, input.FogBulbs.w, input.FogBulbs.w);
|
||||
output.xyz *= 1.0f - Luma(input.FogBulbs.xyz);
|
||||
output.xyz = saturate(output.xyz);
|
||||
|
||||
output = DoDistanceFogForPixel(output, float4(0.0f, 0.0f, 0.0f, 0.0f), input.DistanceFog);
|
||||
|
|
|
@ -82,7 +82,7 @@ float4 PS(PixelShaderInput input) : SV_TARGET
|
|||
output = DoLaserBeamEffect(input.Position, output, input.UV, FADE_FACTOR, Frame);
|
||||
}
|
||||
|
||||
output.xyz -= float3(input.FogBulbs.w, input.FogBulbs.w, input.FogBulbs.w);
|
||||
output.xyz *= 1.0f - Luma(input.FogBulbs.xyz);
|
||||
output.xyz = saturate(output.xyz);
|
||||
|
||||
output = DoDistanceFogForPixel(output, float4(0.0f, 0.0f, 0.0f, 0.0f), input.DistanceFog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue