Explorar o código

PBRMaterial - Custom Shader Name

MackeyK24 %!s(int64=6) %!d(string=hai) anos
pai
achega
8058c7fecf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Materials/PBR/pbrBaseMaterial.ts

+ 1 - 0
src/Materials/PBR/pbrBaseMaterial.ts

@@ -776,6 +776,7 @@ export abstract class PBRBaseMaterial extends PushMaterial {
 
     /**
      * Gets the name of the material shader.
+     * @returns - string that specifies the shader program of the material.
      */
     public getShaderName(): string {
         return "pbr";