
Preview #3
Complete Uniform Lighting Update

Some of you might remember this little initiative I started right before I started my semester. If you don't want to read that terrible rant, I criticized johndoe22 and his alter personalities for doing all this advanced Hex Editing and not sharing how he did them. Specifically the "Shadow Mods" that edited the global.iff and the "Miracle Jerseys" that added this shadow effect to uniforms.
Uniforms files contain a lighting section with a bunch of labels.....unfortunately the ones that JD22 edited last year do not work this year. In fact only 3 values I've found actually do anything to the jerseys. One adds the old sweat pattern to the uniform, and the other two control the lighting intensity on the uniform . The last two are particularly interesting, as my subscribers found out yesterday.
Basically the MainLightIntensity controls the main stadium lighting on the uniform, while the AmbientIntensity controls the court colors on the uniform. I can manipulate the 2nd value to increase the shadowing on the uniform. It isn't perfect, and it doesn't completely replicate what JD22 did last year, but it works.
This is how it looks....
Original 2K Uniform Files

After my Hex Edits



So it looks OK, but I need help making it look better. By editing these two intensity values we can try and replicate the edited uniforms from last year.
Open a decompressed uniform file in your Hex Editor and search for "00000000B82DF3F6"
I cannot give offsets since this position will change based on what uniform you are editing.
#1 is the AmbientIntensity
#2 is the MainLightIntensity
By default the AmbientIntensity is 0.3 for home uniforms and 0.5 for away uniforms.
By default the MainLightIntensity is 2 for all uniforms.
In the edited screenshots above, I changed both the home and away uniforms to -0.4 for AmbientIntensity and 4 for MainLightIntensity . I would really like it if you guys could help me experiment with this further.
Here are some of the values I experimented with....
AmbientIntensity
cdcc4cbe Float = -.2
9a9999be Float = -.3
cdccccbe Float = -.4
MainLightIntensity
00000040 Float = 2
00004040 Float = 3
00008040 Float = 4
So please, if someone could mess with these values some more, post screenshots, and tell us what values you used, we might be able to add better shadows to 2K12's uniforms. I want to decide on good values to use before applying this to all the uniforms in the game....
DOWNLOAD TEST UNIFORMS - Here are the edited uniforms for you to look at for the road Clippers and home Mavs. Make sure you backup your originals!