-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Since lilToon 2.0.0, there seems to be some kind of lighting regression.
I found that in openlit_core.hlsl, reverting the lightDirectionForSH9 change back to 1.10.3 makes the lighting more in line with the other shaders.
2.3.2:
float3 GetV(float3 L, float3 positionWS)
{
return
#if defined(VRC_LIGHT_VOLUMES_INCLUDED)
_UdonLightVolumeEnabled ? normalize(_WorldSpaceCameraPos.xyz - positionWS) :
#endif
L;
}
1.10.3:
lightDirectionForSH9 = sh9Dir + mainDir;
lightDirectionForSH9 = dot(lightDirectionForSH9,lightDirectionForSH9) < 0.000001 ? 0 : normalize(lightDirectionForSH9);
I've found a few other maps where the newer version of lilToon makes me too bright or too dark or differently colored compared to lilToon 1.10.3/poiyomi, but this map gives a good example of the difference:
World in use here is MoonLit Wanderings
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels