diff --git a/package/Shaders/Lighting.hlsl b/package/Shaders/Lighting.hlsl index 5ec2a2698..144cdad8a 100644 --- a/package/Shaders/Lighting.hlsl +++ b/package/Shaders/Lighting.hlsl @@ -2162,7 +2162,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace # if defined(SKIN) psout.ScreenSpaceNormals.z = 1; # elif defined(HAIR) - psout.ScreenSpaceNormals.z = 1 - psout.Albedo.w; // Exclude hair where possible + psout.ScreenSpaceNormals.z = 1 - psout.Albedo.w; // Exclude hair where possible # endif # endif diff --git a/src/Hooks.cpp b/src/Hooks.cpp index 41de3ffab..f1eba8ec5 100644 --- a/src/Hooks.cpp +++ b/src/Hooks.cpp @@ -435,7 +435,7 @@ namespace Hooks logger::info("Hooking BSShaderRenderTargets::Create"); *(uintptr_t*)&ptr_BSShaderRenderTargets_Create = Detours::X64::DetourFunction(REL::RelocationID(100458, 107175).address(), (uintptr_t)&hk_BSShaderRenderTargets_Create); - + logger::info("Hooking BSShaderRenderTargets::Create::CreateRenderTarget(s)"); bool marketplaceUpdate = REL::Module::get().version() >= SKSE::RUNTIME_SSE_1_6_1130; stl::write_thunk_call(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x3F0, marketplaceUpdate ? 0x3F3 : 0x200));