chimera icon indicating copy to clipboard operation
chimera copied to clipboard

Halo: Broken active camo tinting

Open Jakey757 opened this issue 4 years ago • 1 comments

The tinting of active camo doesnt work the same as it does on Xbox, on PC

original hardware https://youtu.be/jnzf0Riv01A?t=1934

emulated https://youtu.be/e6MRmi4E8jY

PC unknown (1) unknown

Xbox appears to be tinting the entire object, while pc is only tinting it partially. The alpha channel for the active_camouflage_distortion texture in /rasterizer acts as a mask for the tint values found in globals.globals on PC, white in the alpha are areas of color, black there is no color and the background color is used. Tinting in halo refers to multiplying a color over the background color.

I have attempted to invert the alpha to no acceptable results, the closest i got to it was by making the alpha completely white unknown (2)

Fixing this globally through chimera would be ideal as it requires a new texture currently.

start of discord discussion in rebel army https://discord.com/channels/331642419953139713/576156733538566160/773572435039092788

ps: if i should be labeling these issues differently to separate them into being possible feature implementations lmk

pss: the refraction amount might be getting set wrong on pc as well, PC seems to refract too much

Jakey757 avatar Nov 04 '20 16:11 Jakey757

It seems Xbox ignores the alpha channel of the tint bitmap. Perhaps we could have chimera force the game to interpret that particular bitmap as x8r8g8b8 if it's a8r8g8b8?

Aerocatia avatar Feb 23 '21 20:02 Aerocatia