SinsOfSeven / TexFx

Creative Commons Attribution Share Alike 4.0 International
95 stars 4 forks source link

shadows mismatch causes the face to look different #18

Open SinsOfSeven opened 1 week ago

SinsOfSeven commented 1 week ago

User Reports

I don't know if it's a known problem or fixed, but the shadows mismatch causes the face to look different I tried applying texfx to the face to try and mitigate the problem but it doesn't want to work. image

Am running into some issues with TexFX, and not sure if it is because I am doing something wrong or if there is a glitch in the program. Parts of the model are appearing brighter in the shade when texfx is active, despite those parts not having texfx effects or transparency applied to them

Left image is default, or with the texfx mask null, and the right image is with an all-black texfx mask (0,0,0,0). Even though she is in the shade, she has glow effect on the hair that makes her look like she is in the light and causes the lighting to be mismatched image


[TextureOverrideNahidaHead]
hash = 9b13c166
match_first_index = 0
handling = skip
ps-t0 = ResourceNahidaHeadNormalmap
ps-t1 = ResourceNahidaHeadDiffuse
ps-t2 = ResourceNahidaHeadLightmap
run = CommandList\global\ORFix\ORFix

ps-t69 = ResourceTexFX $\TexFx_1 = 31143 $\TexFx_2 = 0 run = CommandList\TexFx\C.1 ps-t69 = null

[ResourceNahidaHeadDiffuse] filename = NahidaHeadDiffuse.dds

[ResourceNahidaHeadLightmap] filename = NahidaHeadLightMap.dds

[ResourceNahidaHeadNormalmap] filename = NahidaHeadNormalMap.dds

[ResourceTexFX] filename = TexFXMask.dds



## Notes
Mod Example, enter shadows and use F6 to watch behavior.
[ColleiExample.zip](https://github.com/user-attachments/files/17686459/ColleiExample.zip)
There is an additional behavior where using ps-t69 at all removes the outline. I believe these behaviors are linked.
SinsOfSeven commented 1 week ago

My best guess is that these issues relate to how I'm using iniparams to enable and disable features. It could be a floating point calculation error. Most likely this issue is somewhere right after sampling the colors from ps-t69 and the iniparams

SinsOfSeven commented 1 week ago

image It seems to be especially bad in abyss.