mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
Compare commits
2 commits
c93a2c9d2d
...
d9806a04da
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9806a04da | ||
|
|
4867bb2e2b |
1 changed files with 7 additions and 1 deletions
|
|
@ -72,6 +72,7 @@ void FragmentModule::Generate() {
|
|||
break;
|
||||
case TexturingRegs::FogMode::Gas:
|
||||
WriteGas();
|
||||
// Return early due to unimplemented gas mode
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
|
|
@ -196,7 +197,12 @@ void FragmentModule::WriteFog() {
|
|||
void FragmentModule::WriteGas() {
|
||||
// TODO: Implement me
|
||||
LOG_CRITICAL(Render, "Unimplemented gas mode");
|
||||
OpKill();
|
||||
// Replace the output color with a transparent pixel,
|
||||
// (just discarding the pixel causes graphical issues
|
||||
// in some MH games).
|
||||
OpStore(color_id, ConstF32(0.f, 0.f, 0.f, 0.f));
|
||||
|
||||
OpReturn();
|
||||
OpFunctionEnd();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue