Skip to content

Fix OpenGL ASTBlendPixel bailing too much without backgrounds

This fixes the bottoms of mountains in the title screen/GreenFlower Zone skybox being missing in OpenGL. Arid Canyon Zone fences still look fine.

This has not been extensively tested to see if OpenGL perfectly matches the software renderer on ALL related edge-cases (e.g. what happens when a "Translucent" patch with full alpha lies on top of another patch?), but it at least fixes problems with vanilla Sonic Robo Blast 2 assets.

|***Before (OpenGL)|After (OpenGL)**|Reference (Software)*| |::|::|::| |Image|Image|Image|

The software renderer shouldn't be affected by this merge request. (The software renderer already handles these situations well.)

Edited by Zwip-Zwap Zapony

Merge request reports