Cxbx-Reloaded
Cxbx-Reloaded copied to clipboard
fog stuff
fix no fog issue which was incorrectly passing data into iFog instead of 1 when fog was disabled
testing a move to pixel shader
adjust passthrough template
for move to pixel shader
remove printf
Friendly reminder: Please post which titles gain this fog improvement.
Titles affected include
- KOTOR
- NFL Street
- Dolphin sample
- DoA 3 reflections on 'Ice Stage' (new)
- and basically any that use fog (pixel shader moves) or set fogenable to false, since previously that was not passed as 1 for fogDepth as it should have been.
previously KOTOR character was blacked out....as well as characters in NFL street and probably other titles... the nemu in burnout 3 for example had blacked out textures in the background... not they show the wrongly created (or possibly clipped) textures
EDITED BY @RadWolfie for better visual listing
note that the above screenshot of Burnout 3 is from PB pr with fog fixes since currently master has depth texture reading issues (product of D3D ) and PB uses INTZ to get around those
last commit should fix template formatting mismatches also the DOA reflections on ice world actually comes from PB branch pr, it does work fine in master so left it in the template
Please remove unrelated PB code as mentioned otherwise LGTM
should be fixed