mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 13:58:26 +00:00
BFRES: Add missing samplers to the sampler list instead of attributes
This commit is contained in:
parent
190f47767d
commit
fa89b3d839
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ namespace FirstPlugin
|
|||
foreach (var tex in shape.GetMaterial().textures)
|
||||
{
|
||||
if (!shd.samplers.ContainsValue(tex.SamplerName))
|
||||
shd.attributes.Add(tex.SamplerName, tex.SamplerName);
|
||||
shd.samplers.Add(tex.SamplerName, tex.SamplerName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue