mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
Fix specular map display for botw when used in debug shading
This commit is contained in:
parent
402c2cee5e
commit
f9ec221c1a
4 changed files with 7 additions and 2 deletions
Binary file not shown.
|
@ -1270,6 +1270,8 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\ViewportIconDisable.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Folder Include="FileFormats\EvemtFlow\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
Binary file not shown.
|
@ -217,6 +217,9 @@ void main()
|
|||
}
|
||||
if (HasSpecularMap == 1)
|
||||
{
|
||||
if (uking_texture2_texcoord == 1)
|
||||
specIntensity = texture(SpecularMap, f_texcoord1).rgb;
|
||||
else
|
||||
specIntensity = texture(SpecularMap, f_texcoord0).rgb;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue