From ffd73e832ceab3b5b61bbc90ad35e8efe06f5f1d Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Fri, 25 Apr 2025 21:38:12 +0200 Subject: [PATCH] add a new texture --- globals.inc | 10 ++++++++++ trident.inc | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/globals.inc b/globals.inc index f717f13..a1f7244 100644 --- a/globals.inc +++ b/globals.inc @@ -102,6 +102,16 @@ finish { } } +/* ------------------------------------------------------------ */ + +#declare GoldDark = texture +{ + pigment{ rgb <0.81, 0.71, 0.23> } + finish{ diffuse 0.5 ambient 0 specular 1 metallic roughness 0.01 + reflection{0.6 metallic} + } +} // This is a metal. + /* ------------------------------------------------------------ */ /* * Usefull macros diff --git a/trident.inc b/trident.inc index 4e51ba1..c72ddd4 100644 --- a/trident.inc +++ b/trident.inc @@ -19,7 +19,7 @@ difference { #elseif (Foo < 0.75) texture { T_Chrome_3A } #else - texture { Flashy } + texture { GoldDark } #end // else #undef Foo }