Reset specular map properly if cleared
This commit is contained in:
parent
bffd69b81f
commit
7f582adbaf
Binary file not shown.
@ -546,7 +546,7 @@ namespace Toolbox
|
||||
case "specularCubemapPathTB":
|
||||
specularCubemapPathTB.Text = "";
|
||||
Runtime.PBR.SpecularCubeMapPath = "";
|
||||
RenderTools.ResetDiffuseCubeMap();
|
||||
RenderTools.ResetSpecularCubeMap();
|
||||
break;
|
||||
case "mk8DPathTB":
|
||||
mk8DPathTB.Text = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user