summaryrefslogtreecommitdiff
path: root/chickadee/graphics/pbr.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee/graphics/pbr.scm')
-rw-r--r--chickadee/graphics/pbr.scm29
1 files changed, 15 insertions, 14 deletions
diff --git a/chickadee/graphics/pbr.scm b/chickadee/graphics/pbr.scm
index a2c7251..0abb9eb 100644
--- a/chickadee/graphics/pbr.scm
+++ b/chickadee/graphics/pbr.scm
@@ -49,20 +49,21 @@
pbr-shader
make-pbr-material))
-(define-shader-type <pbr-properties>
- make-pbr-properties
- pbr-properties?
- (float-vec3 base-color-factor pbr-properties-base-color-factor)
- (int base-color-texcoord pbr-properties-base-color-texcoord)
- (float metallic-factor pbr-properties-metallic-factor)
- (float roughness-factor pbr-properties-roughness-factor)
- (int metallic-roughness-texcoord pbr-properties-metallic-roughness-texcoord)
- (int normal-texcoord pbr-properties-normal-texcoord)
- (int occlusion-texcoord pbr-properties-occlusion-texcoord)
- (float-vec3 emissive-factor pbr-properties-emissive-factor)
- (int emissive-texcoord pbr-properties-emissive-texcoord)
- (int alpha-mode pbr-properties-alpha-mode)
- (float alpha-cutoff pbr-properties-alpha-cutoff))
+(define <pbr-properties> #f)
+;; (define-shader-type <pbr-properties>
+;; make-pbr-properties
+;; pbr-properties?
+;; (float-vec3 base-color-factor pbr-properties-base-color-factor)
+;; (int base-color-texcoord pbr-properties-base-color-texcoord)
+;; (float metallic-factor pbr-properties-metallic-factor)
+;; (float roughness-factor pbr-properties-roughness-factor)
+;; (int metallic-roughness-texcoord pbr-properties-metallic-roughness-texcoord)
+;; (int normal-texcoord pbr-properties-normal-texcoord)
+;; (int occlusion-texcoord pbr-properties-occlusion-texcoord)
+;; (float-vec3 emissive-factor pbr-properties-emissive-factor)
+;; (int emissive-texcoord pbr-properties-emissive-texcoord)
+;; (int alpha-mode pbr-properties-alpha-mode)
+;; (float alpha-cutoff pbr-properties-alpha-cutoff))
(define %pbr-shader
(delay (load-shader (scope-datadir "shaders/pbr-vert.glsl")