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,7 +217,10 @@ void main()
|
|||
}
|
||||
if (HasSpecularMap == 1)
|
||||
{
|
||||
specIntensity = texture(SpecularMap, f_texcoord0).rgb;
|
||||
if (uking_texture2_texcoord == 1)
|
||||
specIntensity = texture(SpecularMap, f_texcoord1).rgb;
|
||||
else
|
||||
specIntensity = texture(SpecularMap, f_texcoord0).rgb;
|
||||
}
|
||||
|
||||
if (renderType == 1) // normals vertexColor
|
||||
|
|
Loading…
Reference in a new issue