Cxbx-Reloaded icon indicating copy to clipboard operation
Cxbx-Reloaded copied to clipboard

fog stuff

Open medievil1 opened this issue 1 year ago • 5 comments

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

medievil1 avatar Jan 18 '24 06:01 medievil1

Friendly reminder: Please post which titles gain this fog improvement.

RadWolfie avatar Jan 20 '24 08:01 RadWolfie

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.

image 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 image-1


EDITED BY @RadWolfie for better visual listing

medievil1 avatar Jan 20 '24 20:01 medievil1

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

medievil1 avatar Jan 20 '24 20:01 medievil1

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

medievil1 avatar Jan 21 '24 01:01 medievil1

Please remove unrelated PB code as mentioned otherwise LGTM

should be fixed

medievil1 avatar Feb 03 '24 17:02 medievil1