diff options
| author | yum <yum.food.vr@gmail.com> | 2025-06-30 09:25:46 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-06-30 09:26:13 -0700 |
| commit | 7db318d2903ad993c618f551c455ec30c131d194 (patch) | |
| tree | 75f82a11a7841ad7d4e5a2c4c9a6a13e86c88635 /Scripts | |
| parent | 31bba649de265dd83ea1af638c03d224696d07b3 (diff) | |
Add oklab color clamp & fix light volumes shading
Diffstat (limited to 'Scripts')
| -rw-r--r-- | Scripts/Editor/GenerateMetallicGlossMap.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/Editor/GenerateMetallicGlossMap.cs b/Scripts/Editor/GenerateMetallicGlossMap.cs index e3c6297..4e1d4ba 100644 --- a/Scripts/Editor/GenerateMetallicGlossMap.cs +++ b/Scripts/Editor/GenerateMetallicGlossMap.cs @@ -40,7 +40,7 @@ public class GenerateMetallicGlossMap : EditorWindow ? Path.GetDirectoryName(AssetDatabase.GetAssetPath(metallicMap))
: Path.GetDirectoryName(AssetDatabase.GetAssetPath(smoothnessMap));
string filename = metallicMap != null ? metallicMap.name : "black";
- string newPath = Path.Combine(directory, filename + "_metallicgloss.png");
+ string newPath = Path.Combine(directory, "metallic_gloss.png");
// Create new texture
int width = metallicMap != null ? metallicMap.width : smoothnessMap.width;
|
