Refactor specular lighting to properly map specular as reflectance in BRDF

Reference: https://google.github.io/filament/Filament.md.html

#1492
This commit is contained in:
Wojtek Figat
2025-09-30 15:43:55 +02:00
parent 02c5ad3fa4
commit 0848f1fa83
8 changed files with 65 additions and 21 deletions

View File

@@ -10,7 +10,7 @@
/// <summary>
/// Current materials shader version.
/// </summary>
#define MATERIAL_GRAPH_VERSION 176
#define MATERIAL_GRAPH_VERSION 177
class Material;
class GPUShader;