Datasets:

Modalities:
Image
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
License:
ZijunCui commited on
Commit
42a9155
·
verified ·
1 Parent(s): 3020829

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Diamond.mdl +0 -0
  2. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Diamond_Offset.mdl +0 -0
  3. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Mosaic_Shifted.mdl +0 -0
  4. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Paseo.mdl +0 -0
  5. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Penny.mdl +2398 -0
  6. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Pinwheel.mdl +0 -0
  7. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Square.mdl +0 -0
  8. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Square_Brick.mdl +0 -0
  9. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Subway.mdl +2485 -0
  10. code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Versailles.mdl +0 -0
  11. code/third_party/vMaterials_2/Ceramic/Grog_Fired_Clay.mdl +446 -0
  12. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl.png +3 -0
  13. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber.png +3 -0
  14. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Aluminized.png +3 -0
  15. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Aluminized_Coated.png +3 -0
  16. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Dusty_Coating.png +3 -0
  17. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Matte_Coating.png +3 -0
  18. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Matte_Uncoated.png +3 -0
  19. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Shiny_Coating.png +3 -0
  20. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Worn_Coating.png +3 -0
  21. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl.png +3 -0
  22. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass.png +3 -0
  23. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Blueish.png +3 -0
  24. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Flat_Weave.png +3 -0
  25. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Shiny.png +3 -0
  26. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Yellowish.png +3 -0
  27. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl.png +3 -0
  28. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Bumpy_Imperfections.png +3 -0
  29. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Imperfections.png +3 -0
  30. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Torn_Imperfections.png +3 -0
  31. code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Warped_Imperfections.png +3 -0
  32. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber.png +3 -0
  33. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Aluminized.png +3 -0
  34. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Aluminized_Coated.png +3 -0
  35. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Dusty_Coating.png +3 -0
  36. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Matte_Coating.png +3 -0
  37. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Matte_Uncoated.png +3 -0
  38. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Shiny_Coating.png +3 -0
  39. code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Worn_Coating.png +3 -0
  40. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass.png +3 -0
  41. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Blueish.png +3 -0
  42. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Flat_Weave.png +3 -0
  43. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Shiny.png +3 -0
  44. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Yellowish.png +3 -0
  45. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Bumpy_Imperfections.png +3 -0
  46. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Imperfections.png +3 -0
  47. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Torn_Imperfections.png +3 -0
  48. code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Warped_Imperfections.png +3 -0
  49. code/third_party/vMaterials_2/Composite/textures/carbon_fiber_fibers_norm.jpg +3 -0
  50. code/third_party/vMaterials_2/Composite/textures/carbon_fiber_multi_R_rough_G_cutout_B_patternA.jpg +3 -0
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Diamond.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Diamond_Offset.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Mosaic_Shifted.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Paseo.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Penny.mdl ADDED
@@ -0,0 +1,2398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******************************************************************************
2
+ * Copyright 2024 NVIDIA Corporation. All rights reserved. *
3
+ ******************************************************************************
4
+
5
+ Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
6
+ to any person obtaining a copy of the sample definition code that uses our
7
+ Material Definition Language (the "MDL Materials"), to reproduce and distribute
8
+ the MDL Materials, including without limitation the rights to use, copy, merge,
9
+ publish, distribute, and sell modified and unmodified copies of the MDL
10
+ Materials, and to permit persons to whom the MDL Materials is furnished to do
11
+ so, in all cases solely for use with NVIDIA’s Material Definition Language,
12
+ subject to the following further conditions:
13
+
14
+ 1. The above copyright notices, this list of conditions, and the disclaimer
15
+ that follows shall be retained in all copies of one or more of the MDL
16
+ Materials, including in any software with which the MDL Materials are bundled,
17
+ redistributed, and/or sold, and included either as stand-alone text files,
18
+ human-readable headers or in the appropriate machine-readable metadata fields
19
+ within text or binary files as long as those fields can be easily viewed by the
20
+ user, as applicable.
21
+ 2. The name of NVIDIA shall not be used to promote, endorse or advertise any
22
+ Modified Version without specific prior written permission, except a) to comply
23
+ with the notice requirements otherwise contained herein; or b) to acknowledge
24
+ the contribution(s) of NVIDIA.
25
+
26
+ THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
29
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
30
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
31
+ INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
32
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
33
+ THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
34
+ */
35
+
36
+
37
+ mdl 1.6;
38
+ import ::base::*;
39
+ import ::state::*;
40
+ import ::math::*;
41
+ import ::anno::*;
42
+ import ::tex::*;
43
+ import ::df::*;
44
+ import ::nvidia::core_definitions::*;
45
+
46
+ const string COPYRIGHT =
47
+ " Copyright 2024 NVIDIA Corporation. All rights reserved.\n"
48
+ " MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
49
+ " WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
50
+ " THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
51
+ " EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
52
+ " MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
53
+ " COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
54
+ " CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
55
+ " GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
56
+ " AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
57
+ " INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
58
+
59
+ float histogram_range(float input, float range = 1.0f, float position = 0.5f)
60
+ {
61
+ float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0);
62
+ float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0);
63
+ return ::math::lerp(low, high, input);
64
+ }
65
+
66
+ // Returns the normal n in tangent space, given n is in internal space.
67
+ float3 transform_internal_to_tangent(float3 n)
68
+ [[
69
+ ::anno::hidden()
70
+ ]]
71
+ {
72
+ return
73
+ n.x* float3(::state::texture_tangent_u(0).x,::state::texture_tangent_v(0).x,::state::normal().x)+
74
+ n.y* float3(::state::texture_tangent_u(0).y,::state::texture_tangent_v(0).y,::state::normal().y)+
75
+ n.z* float3(::state::texture_tangent_u(0).z,::state::texture_tangent_v(0).z,::state::normal().z);
76
+ }
77
+
78
+ // Returns the normal n in internal space, given n is in tangent space.
79
+ float3 transform_tangent_to_internal(float3 n)
80
+ [[
81
+ ::anno::hidden()
82
+ ]]
83
+ {
84
+ return ::state::texture_tangent_u(0) * n.x +
85
+ ::state::texture_tangent_v(0) * n.y +
86
+ ::state::normal() * n.z ;
87
+ }
88
+
89
+ // https://nullprogram.com/blog/2018/07/31/
90
+ //bias: 0.17353355999581582 ( very probably the best of its kind )
91
+ // NOTE: To turn this back to a float, one must divide the value by 4294967296.f
92
+ // which corresponds to 0xffffffff, however MDL seems to turn this into -1.
93
+ int lowbias32(int x)
94
+ {
95
+ x ^= x >>> 16;
96
+ x *= 0x7feb352d;
97
+ x ^= x >>> 15;
98
+ x *= 0x846ca68b;
99
+ x ^= x >>> 16;
100
+ return x;
101
+ }
102
+
103
+ float uint2float(int x)
104
+ {
105
+ return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0);
106
+ }
107
+
108
+ float2 rnd22(int2 p, int seed = 0) {
109
+ float2 ret_val = float2(
110
+ uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f,
111
+ uint2float(lowbias32(p[0] + seed + lowbias32(p[1]))) / 4294967296.f
112
+ );
113
+ return ret_val;
114
+ }
115
+
116
+ float2x2 invert_2x2(float2x2 M)
117
+ {
118
+ float det = M[0][0]*M[1][1] - M[0][1]*M[1][0];
119
+ //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/
120
+ return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]);
121
+ }
122
+
123
+
124
+ float3 rgb2srgb(float3 val) [[ anno::unused() ]] {
125
+ return ::math::pow( ::math::max(val, float3(0.f)), float3(1./2.2) );
126
+ }
127
+
128
+ float3 nonrepeat_lookup(
129
+ uniform texture_2d texture = texture_2d(),
130
+ ::base::texture_coordinate_info uvw = ::base::coordinate_source(),
131
+ float2 texture_scale = float2(1.0),
132
+ float3 average_color = float3(0.5),
133
+ float patch_size = 8.0,
134
+ int seed = 0
135
+ )
136
+ {
137
+
138
+ float2 uv_in = float2(uvw.position[0], uvw.position[1]) / texture_scale;
139
+ float Z = patch_size; // patch scale inside example texture
140
+
141
+ float3 O = float3(0.f);
142
+ float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f);
143
+ float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space
144
+
145
+ float2 U = uv_in;
146
+ float2 V = M * uv_in; //pre-tilted hexa coordinates
147
+ int2 I = int2(::math::floor(V)); // hexa-tile id
148
+
149
+ // The mean color needs to be determined in Photoshop then to make the
150
+ // average color work out, take the float value and calculate the apropriate
151
+ // mean value as (value^(1/2.2))
152
+
153
+ float3 m = average_color;
154
+
155
+ float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W;
156
+ F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates
157
+
158
+ if( F[2] > 0.f )
159
+ O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I, seed))) - m)
160
+ + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1), seed))) - m)
161
+ + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0), seed))) - m);
162
+ else
163
+ O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1), seed))) - m)
164
+ + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0), seed))) - m)
165
+ + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1), seed))) - m);
166
+ O = m + O/::math::length(W);
167
+ O = ::math::clamp( (O), 0.0, 1.0);
168
+
169
+ return float3(O);
170
+ }
171
+
172
+ ::base::texture_coordinate_info transform_coordinate_2(
173
+ float4x4 transform
174
+ [[ anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]],
175
+ ::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info()
176
+ [[ anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]]
177
+ ) [[
178
+ ::anno::description("Transform a texture coordinate by a matrix.") ,
179
+ ::anno::noinline()
180
+ ]]
181
+ {
182
+ float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1);
183
+ float4 u = transform[0];
184
+ float3 ru = ::math::normalize(float3(u.x,u.y,u.z));
185
+ float cos = ru.x;
186
+ float sin = -ru.y;
187
+
188
+ return ::base::texture_coordinate_info(
189
+ float3(r_position.x,r_position.y,r_position.z),
190
+ math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v),
191
+ math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u));
192
+ }
193
+
194
+
195
+ ::base::texture_coordinate_info vmat_transform(
196
+ float2 translation = float2(0.0, 0.0),
197
+ float rotation = 0.0, // rotation in degrees
198
+ float2 scaling = float2(1.0, 1.0),
199
+ uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
200
+ uniform int uv_space = 0
201
+ )
202
+ {
203
+ float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
204
+ float4x4 scale =
205
+ float4x4(1.0 /scaling.x, 0. , 0. , 0.,
206
+ 0. , 1.0 /scaling.y , 0. , 0.,
207
+ 0. , 0. , 1.0, 0.,
208
+ translation.x , translation.y , 0.0, 1.);
209
+
210
+ float s = ::math::sin(rotation_rad);
211
+ float c = ::math::cos(rotation_rad);
212
+ float4x4 rotate =
213
+ float4x4( c , -s , 0.0 , 0.0,
214
+ s , c , 0.0 , 0.0,
215
+ 0.0, 0.0 , 1.0 , 0.0,
216
+ 0. , 0.0 , 0.0 , 1.);
217
+
218
+ return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space));
219
+ }
220
+
221
+
222
+ struct ceramic_tiles_return {
223
+ color diffuse;
224
+ float dirt;
225
+ float tiles_isotropic_rough_squared;
226
+ float glazing_roughness;
227
+ float3 normal;
228
+ float4 randvals;
229
+ ::base::texture_coordinate_info tiles_uvw;
230
+ };
231
+
232
+ ceramic_tiles_return Ceramic_Tiles_Glazed_Penny_Generator(
233
+
234
+ // Ceramic textures
235
+ // *** MAPS ***
236
+ // *** Special multimaps for tiles *** //
237
+ uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile
238
+ = texture_2d() [[ // G - Offset (for the tiling algorithm to work)
239
+ ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout
240
+ " the offsets and the rotation for the tiles."),
241
+ ::anno::display_name("Tiles ID Offset Rotation Texture"),
242
+ ::anno::in_group("Textures"),
243
+ ::anno::ui_order(0)
244
+ ]],
245
+ uniform texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure // R - Diffuse color mix noise 1
246
+ = texture_2d() [[ // G - finish_roughness
247
+ ::anno::description("Tiles texture that contains the textures " // B - Craquelure
248
+ "for diffuse color mixing, the roughness and the craquelure."),
249
+ ::anno::display_name("Tiles Noise1 Roughness Craquelure"),
250
+ ::anno::in_group("Textures"),
251
+ ::anno::ui_order(1)
252
+ ]],
253
+ uniform texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops // R - Diffuse color mix noise 2
254
+ = texture_2d()[[ // G - Glazing Thickness
255
+ ::anno::description("Tiles texture that contains the textures " // B - Drops (roughness)
256
+ "for diffuse color mixing, glazing thickness and drops."),
257
+ ::anno::display_name("Tiles Noise2 Thickness Drops"),
258
+ ::anno::in_group("Textures"),
259
+ ::anno::ui_order(2)
260
+ ]],
261
+
262
+ uniform texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao // R - Height
263
+ = texture_2d() [[ // B - AO
264
+ ::anno::description("Tiles texture that contains the textures " // G - Edgefade (diffuse)
265
+ "for the tiles height, the edge fade and AO."),
266
+ ::anno::display_name("Tiles Height Edgefade AO"),
267
+ ::anno::in_group("Textures"),
268
+ ::anno::ui_order(3)
269
+ ]],
270
+
271
+ uniform texture_2d tex_lin_tiles_norm = texture_2d() // Normal texture for the tiles
272
+ [[
273
+ ::anno::description("The normal texture to be used for the ceramic tiles."),
274
+ ::anno::display_name("Tiles Normal"),
275
+ ::anno::in_group("Textures"),
276
+ ::anno::ui_order(4)
277
+ ]],
278
+ // uniform texture_2d tex_lin_orange_peel_norm = texture_2d(), // Orange Peel Texture
279
+
280
+ // Grout
281
+ uniform texture_2d tex_srgb_grout_diffuse_tex = texture_2d() // Diffuse Grout texture
282
+ [[
283
+ ::anno::description("The diffuse texture for the grout."),
284
+ ::anno::display_name("Grout Diffuse"),
285
+ ::anno::in_group("Textures"),
286
+ ::anno::ui_order(5)
287
+ ]],
288
+ uniform texture_2d tex_lin_grout_normal = texture_2d() // texture with normal for the grout
289
+ [[
290
+ ::anno::description("The normal texture for the grout."),
291
+ ::anno::display_name("Grout Normal"),
292
+ ::anno::in_group("Textures"),
293
+ ::anno::ui_order(6)
294
+ ]],
295
+
296
+ // OTHER TEXTURE REQUIRED
297
+ // OPTIONAL: Diffuse texture for the ceramix underneath the glazing. Probably not very visible
298
+
299
+ color tiles_color_1 = color(0.6f)
300
+ [[
301
+ ::anno::description("Mixing color 1 for the ceramic tiles."),
302
+ ::anno::display_name("Tiles Color 1"),
303
+ ::anno::in_group("Appearance"),
304
+ ::anno::ui_order(7)
305
+ ]],
306
+ color tiles_color_2 = color(0.7f)
307
+ [[
308
+ ::anno::description("Mixing color 2 for the ceramic tiles."),
309
+ ::anno::display_name("Tiles Color 2"),
310
+ ::anno::in_group("Appearance"),
311
+ ::anno::ui_order(8)
312
+ ]],
313
+ color tiles_color_3 = color(0.8f)
314
+ [[
315
+ ::anno::description("Mixing color 3 for the tiles."),
316
+ ::anno::display_name("Tiles Color 3"),
317
+ ::anno::in_group("Appearance"),
318
+ ::anno::ui_order(9)
319
+ ]],
320
+ float tiles_random_brightness = 0.0f
321
+ [[
322
+ ::anno::description("Randomly modifies the brightness of the tiles."),
323
+ ::anno::display_name("Tiles Random Brightness"),
324
+ ::anno::hard_range(0.0f, 1.0f),
325
+ ::anno::in_group("Appearance"),
326
+ ::anno::ui_order(10)
327
+ ]],
328
+ int tiles_random_seed = 0
329
+ [[
330
+ ::anno::description("Choose a different seed number to obtain a different randomization pattern."),
331
+ ::anno::display_name("Tiles Random Seed"),
332
+ ::anno::in_group("Tiles"),
333
+ ::anno::ui_order(11)
334
+ ]],
335
+
336
+ uniform float tiles_bump_strength = 1.0f
337
+ [[
338
+ ::anno::description("Adjusts the strength of the tiles bump map."),
339
+ ::anno::display_name("Tiles Bump Strength"),
340
+ ::anno::in_group("Tiles"),
341
+ ::anno::hard_range(0.0f, 1.0f),
342
+ ::anno::ui_order(12)
343
+ ]],
344
+ float tiles_random_slope_orientation = 0.03f
345
+ [[
346
+ ::anno::description("When increasing this value, tiles are slanted in random directions. "
347
+ "This breaks up the even look and gives the appearance that the tiles work was done by hand."),
348
+ ::anno::display_name("Tiles Random Slope Orientation"),
349
+ ::anno::soft_range(0.0f, 1.0f),
350
+ ::anno::hard_range(0.0f, 5.0f),
351
+ ::anno::in_group("Tiles"),
352
+ ::anno::ui_order(13)
353
+ ]],
354
+
355
+ float tiles_rotate = 0.0f // global rotation of texture in the tiles
356
+ [[
357
+ ::anno::description("Global rotation of the texture lookup for the tiles textures in degrees."),
358
+ ::anno::display_name("Tiles Texture Rotate"),
359
+ ::anno::soft_range(-360.0f, 360.0f),
360
+ ::anno::in_group("Tiles"),
361
+ ::anno::ui_order(15)
362
+ ]],
363
+ float tiles_random_rotation = 1.0f // random rotation amount in degrees
364
+ [[
365
+ ::anno::description("Random rotation of the textures for the tiles in degrees."),
366
+ ::anno::display_name("Tiles Random Rotation"),
367
+ ::anno::soft_range(0.0f, 360.0f),
368
+ ::anno::in_group("Tiles"),
369
+ ::anno::ui_order(16)
370
+ ]],
371
+ float tiles_scale = 1.0f
372
+ [[
373
+ ::anno::description("Scales the texture in the tiles."),
374
+ ::anno::display_name("Tiles Texture Scale"),
375
+ ::anno::in_group("Tiles"),
376
+ ::anno::soft_range(0.0f, 2.0f),
377
+ ::anno::ui_order(17)
378
+ ]],
379
+ float tiles_random_scale = 0.0f
380
+ [[
381
+ ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."),
382
+ ::anno::display_name("Tiles Random Texture Scale"),
383
+ ::anno::soft_range(0.0f, 1.0f),
384
+ ::anno::in_group("Tiles"),
385
+ ::anno::ui_order(18)
386
+ ]],
387
+
388
+ float glazing_varying_thickness_weight = 0.0f
389
+ [[
390
+ ::anno::description("Adds a varying thickness to the glazing which makes the underlying "
391
+ "ceramic color shine through."),
392
+ ::anno::display_name("Glazing Varying Thickness Weight"),
393
+ ::anno::hard_range(0.0f, 1.0f),
394
+ ::anno::in_group("Glazing"),
395
+ ::anno::ui_order(19)
396
+ ]],
397
+ float glazing_edgefade_weight = 0.0f
398
+ [[
399
+ ::anno::description("Adds a fading effect so that the glazing is thinner at the edges "
400
+ "of the tiles. This revelas the ceramic color which will begin to shine through."),
401
+ ::anno::display_name("Glazing Edgefade Weight"),
402
+ ::anno::in_group("Glazing"),
403
+ ::anno::hard_range(0.0f, 1.0f),
404
+ ::anno::ui_order(20)
405
+ ]],
406
+ float glazing_edgefade_randomness = 0.0f
407
+ [[
408
+ ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."),
409
+ ::anno::display_name("Glazing Edgefade Randomness"),
410
+ ::anno::hard_range(0.0f, 1.0f),
411
+ ::anno::enable_if("glazing_edgefade_weight > 0.0f"),
412
+ ::anno::in_group("Appearance"),
413
+ ::anno::ui_order(10)
414
+ ]],
415
+ float glazing_craquelure_weight = 0.0f
416
+ [[
417
+ ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."),
418
+ ::anno::display_name("Glazing Craquelure Weight"),
419
+ ::anno::in_group("Glazing"),
420
+ ::anno::hard_range(0.0f, 1.0f),
421
+ ::anno::ui_order(21)
422
+ ]],
423
+ uniform float glazing_orange_peel_bump = 1.0f
424
+ [[
425
+ ::anno::description("Adds an unevenness to the glazing so that it appears more natural."),
426
+ ::anno::display_name("Glazing Orange Peel Bump"),
427
+ ::anno::soft_range(0.0f, 1.0f),
428
+ ::anno::hard_range(0.0f, 3.0f),
429
+ ::anno::in_group("Glazing"),
430
+ ::anno::ui_order(22)
431
+ ]],
432
+ uniform float glazing_orangepeel_size = 1.0f
433
+ [[
434
+ ::anno::description("Adjusts the size of the orangepeel on the glazing."),
435
+ ::anno::display_name("Glazing Orange Peel Size"),
436
+ ::anno::soft_range(0.0f, 1.0f),
437
+ ::anno::in_group("Glazing"),
438
+ ::anno::ui_order(23)
439
+ ]],
440
+ uniform int glazing_orangepeel_noise_levels = 3
441
+ [[
442
+ ::anno::description("A higher number of levels makes the glazing layer to appear noisier "
443
+ "while a low level gives the glazing a realtively smooth appearance."),
444
+ ::anno::display_name("Glazing Orange Peel Noise Levels"),
445
+ ::anno::hard_range(1, 6),
446
+ ::anno::in_group("Glazing"),
447
+ ::anno::ui_order(24)
448
+ ]],
449
+ uniform float3 glazing_orangepeel_distortion = float3(0.0f)
450
+ [[
451
+ ::anno::description("An optional input to add distortion to the glazing orange peel."),
452
+ ::anno::display_name("Glazing Orange Peel Distortion"),
453
+ ::anno::in_group("Glazing"),
454
+ ::anno::ui_order(25)
455
+ ]],
456
+
457
+ // Roughness
458
+ float tiles_roughness = 0.04f
459
+ [[
460
+ ::anno::description("The basic roughness of the tiles."),
461
+ ::anno::display_name("Tiles Roughness"),
462
+ ::anno::in_group("Appearance"),
463
+ ::anno::hard_range(0.f, 1.f),
464
+ ::anno::ui_order(26)
465
+ ]],
466
+ float tiles_roughness_range = 0.5f
467
+ [[
468
+ ::anno::description("The amount how much the roughness is varying around its base roughness value."),
469
+ ::anno::display_name("Tiles Roughness Range"),
470
+ ::anno::in_group("Appearance"),
471
+ ::anno::hard_range(0.f, 1.f),
472
+ ::anno::ui_order(27)
473
+ ]],
474
+ float drops_amount = 0.5f
475
+ [[
476
+ ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."),
477
+ ::anno::display_name("Drops Amount"),
478
+ ::anno::in_group("Appearance"),
479
+ ::anno::hard_range(0.f, 1.f),
480
+ ::anno::ui_order(28)
481
+ ]],
482
+ float grout_brightness = 0.5f
483
+ [[
484
+ ::anno::description("Adjusts the brightness of the grout."),
485
+ ::anno::display_name("Grout Brightness"),
486
+ ::anno::in_group("Appearance"),
487
+ ::anno::hard_range(0.f, 1.f)
488
+ ]],
489
+ float grout_roughness = 0.8f
490
+ [[
491
+ ::anno::description("The roughness of the grout."),
492
+ ::anno::display_name("Grout Roughness"),
493
+ ::anno::in_group("Appearance"),
494
+ ::anno::hard_range(0.f, 1.f)
495
+ ]],
496
+
497
+ float grout_height = 0.1f
498
+ [[
499
+ ::anno::description("The height of the grout."),
500
+ ::anno::display_name("Grout Height"),
501
+ ::anno::in_group("Appearance"),
502
+ ::anno::hard_range(0.f, 1.f)
503
+ ]],
504
+ float grout_softness = 0.1f
505
+ [[
506
+ ::anno::description("The softness of the transition between the grout and the tiles."),
507
+ ::anno::display_name("Grout Transition Roughness"),
508
+ ::anno::in_group("Appearance"),
509
+ ::anno::hard_range(0.f, 1.f)
510
+ ]],
511
+ uniform float grout_bump_strength = 1.0f
512
+ [[
513
+ ::anno::description("The strength of the grout bumpmap."),
514
+ ::anno::display_name("Grout Bump Strength"),
515
+ ::anno::in_group("Appearance"),
516
+ ::anno::hard_range(0.f, 1.f)
517
+ ]],
518
+ uniform float grout_scale = 1.0f
519
+ [[
520
+ ::anno::description("Scales the texture lookup for the grout independently from the tiles."),
521
+ ::anno::display_name("Grout Scale"),
522
+ ::anno::in_group("Appearance"),
523
+ ::anno::soft_range(0.f, 2.f)
524
+ ]],
525
+ float ao_amount = 0.5f
526
+ [[
527
+ ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."),
528
+ ::anno::display_name("Ambient Occlusion Amount"),
529
+ ::anno::in_group("Appearance"),
530
+ ::anno::hard_range(0.f, 1.f)
531
+ ]],
532
+ uniform float2 texture_translate = float2(0.f) [[
533
+ ::anno::description("Controls the position of the texture."),
534
+ ::anno::display_name("Texture Translate"),
535
+ ::anno::in_group("Transform")
536
+ ]],
537
+ uniform float texture_rotate = 0.f [[
538
+ ::anno::description("Rotation angle of the texture in degrees."),
539
+ ::anno::display_name("Texture Rotate"),
540
+ ::anno::in_group("Transform"),
541
+ ::anno::soft_range(-360.f, 360.f)
542
+ ]],
543
+ uniform float2 texture_scale = float2(1.f) [[
544
+ ::anno::description("Larger numbers increase the size."),
545
+ ::anno::display_name("Texture Scale"),
546
+ ::nvidia::core_definitions::dimension(float2(1.0, 1.0)),
547
+ ::anno::in_group("Transform")
548
+ ]],
549
+ uniform int uv_space_index = 0
550
+ [[
551
+ ::anno::description("The UV texture space to be used."),
552
+ ::anno::display_name("UV Space Index"),
553
+ ::anno::in_group("Advanced"),
554
+ ::anno::ui_order(10)
555
+ ]]
556
+ )
557
+ [[
558
+ ::anno::description("Glazed Ceramic Tiles Master material. This material should be hidden as it has all of its "
559
+ "parameters exposed. This material is only useful for hardcore-fans of fine grained tweaking and not necessary "
560
+ "if the user uses the tiles materials that are derived from it."),
561
+ ::anno::in_group("Tiles"),
562
+ ::anno::display_name("Glazed Ceramic Tiles - Penny"),
563
+ ::anno::copyright_notice(COPYRIGHT),
564
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Glazed_Penny.png"),
565
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round")),
566
+ ::anno::hidden(),
567
+ ::anno::author("NVIDIA vMaterials"),
568
+ ::anno::contributor("Ruediger Raab"),
569
+ ::anno::contributor("Maik Rohland")
570
+ ]]
571
+ {
572
+ texture_scale *= float2(0.5f, 0.42f);
573
+ color ceramic_color = color(1.0f);
574
+ ::base::texture_coordinate_info base_uv = vmat_transform(
575
+ translation:texture_translate,
576
+ rotation: texture_rotate ,
577
+ scaling: texture_scale ,
578
+ system: ::base::texture_coordinate_uvw,
579
+ uv_space: uv_space_index
580
+ );
581
+ ::base::texture_coordinate_info grout_uv = ::base::texture_coordinate_info(
582
+ position: base_uv.position / grout_scale,
583
+ tangent_u: base_uv.tangent_u,
584
+ tangent_v: base_uv.tangent_v
585
+
586
+ );
587
+ // --------------------------- Rand Tiles Routine -------------------------------------------------------
588
+
589
+ // rand_tiles_return rand_tiles_ret = rand_tiles(
590
+ // tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex,
591
+ // base_uv: base_uv,
592
+ // texture_space: uv_space_index,
593
+ // scale: scale,
594
+ // tiles_rotate: tiles_rotate,
595
+ // tiles_random_rotation: tiles_random_rotation,
596
+ // tiles_scale: tiles_scale,
597
+ // tiles_random_scale: tiles_random_scale
598
+ // );
599
+
600
+ // 1. Get UVs for tex_lin_tiles_id_offset_color_tex lookup plus the according cell indices
601
+ // 2. Perform lookup, correct tiles borders and generate the random values for the tiles
602
+ // 3. Use random values to generate random values for the randomized UVs
603
+ // - random scale (1 floats)
604
+ // - random rotation (1 float)
605
+ // - random offset (2 floats)
606
+ // - random brightness (1 float)
607
+ // 4. Do the random UV generation using 'vmat_transform'-function
608
+
609
+ int rand_val_1, rand_val_2, rand_val_3, rand_val_4, rand_val_5, rand_val_6;
610
+ float rnd1, rnd2, rnd3, rnd4, rnd5, rnd6;
611
+ int offset_x, offset_y;
612
+
613
+ // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here
614
+ int2 texel_coord = int2(int(::math::frac(base_uv.position.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)),
615
+ int(::math::frac(base_uv.position.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex)));
616
+ float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord);
617
+
618
+ int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work
619
+ // We are assuming 8bit values and generate integers from 0-255
620
+ float offset_id = tiles_ids.y; // Offset of overlapping tiles stored in G-channel
621
+ // [0 - 0.25[ : ( 0/ 0) Grayscale value: 0.1
622
+ // [0.25 - 0.5 [ : (-1/ 0) Grayscale value: 0.37
623
+ // [0.5 - 0.75[ : (-1/-1) Grayscale value: 0.62
624
+ // [0.75 - 1.0 [ : ( 0/-1) Grayscale value: 0.87
625
+ offset_x = offset_id < 0.25f ? 0 : (offset_id < .75f) ? 1 : 0;
626
+ offset_y = offset_id < 0.5 ? 0 : 1;
627
+
628
+ int2 cell_id = int2(int(::math::floor(base_uv.position.x) - offset_x), int(::math::floor(base_uv.position.y) - offset_y));
629
+
630
+ rand_val_1 = lowbias32(tiles_random_seed + rand_id + lowbias32(cell_id.x + lowbias32(cell_id.y)));
631
+ rand_val_2 = lowbias32(rand_val_1);
632
+ rand_val_3 = lowbias32(rand_val_2);
633
+ rand_val_4 = lowbias32(rand_val_3);
634
+ rand_val_5 = lowbias32(rand_val_4);
635
+ rand_val_6 = lowbias32(rand_val_5);
636
+
637
+ rnd1 = uint2float(rand_val_1)/4294967296.f;
638
+ rnd2 = uint2float(rand_val_2)/4294967296.f;
639
+ rnd3 = uint2float(rand_val_3)/4294967296.f;
640
+ rnd4 = uint2float(rand_val_4)/4294967296.f;
641
+ rnd5 = uint2float(rand_val_5)/4294967296.f;
642
+ rnd6 = uint2float(rand_val_6)/4294967296.f;
643
+
644
+ // Generate 2 different sets of lookups. Re-Using random numbers between functions at different positions.
645
+ // Hoping that this little save does not leave an impression on the eye
646
+ ::base::texture_coordinate_info tiles_lookup_uvw_1 =
647
+ vmat_transform(
648
+ translation:texture_translate + (float2(rnd1, rnd2)) * 17.77,
649
+ rotation: texture_rotate + (tiles_rotate + (rnd3 - 0.5f) * tiles_random_rotation) ,
650
+ scaling: texture_scale * (float2(tiles_scale) + tiles_scale* float2(rnd4) * tiles_random_scale),
651
+ system: ::base::texture_coordinate_uvw,
652
+ uv_space: uv_space_index
653
+ );
654
+
655
+
656
+
657
+ // ----------------------------------------------------------------------------------
658
+ color tiles_diff = color(1.0f, 0.0, 0.0f);
659
+ color grout_diff_lookup = color(0.5f, 1.5f, 0.5f);
660
+
661
+ // Lookup for Edgefade and tiles height, using the non-shifted original UV coordinates
662
+ float3 R_height_G_edgefade_B_ao = ::tex::lookup_float3(
663
+ tex: tex_tiles_multi_R_height_G_edgefade_B_ao,
664
+ coord: float2(base_uv.position.x, base_uv.position.y)
665
+ );
666
+
667
+ // Lookup for Noise 1, Noise 2 and Craquelure
668
+ float3 R_noise1_G_noise2_B_craquelure = ::tex::lookup_float3(
669
+ tex: tex_tiles_multi_R_noise1_G_noise2_B_craquelure,
670
+ coord: float2(tiles_lookup_uvw_1.position.x, tiles_lookup_uvw_1.position.y)
671
+ );
672
+
673
+ // Lookup the Finish Roughness, Glazing Thickness and Drops
674
+ // float3 R_rough_G_thickness_B_drops = ::tex::lookup_float3(
675
+ // tex: tex_tiles_multi_R_rough_G_thickness_B_drops,
676
+ // coord: float2(tiles_lookup_uvw_2.position.x, tiles_lookup_uvw_2.position.y)
677
+ // );
678
+
679
+
680
+ float3 R_rough_G_thickness_B_drops = nonrepeat_lookup(
681
+ texture: tex_tiles_multi_R_rough_G_thickness_B_drops,
682
+ uvw: base_uv,
683
+ average_color: float3(0.469f, 0.327f, 0.033f),
684
+ texture_scale: texture_scale,
685
+ patch_size: 6.0,
686
+ seed: tiles_random_seed
687
+ );
688
+
689
+ float grout_mask = ::math::smoothstep(grout_height, grout_height + grout_softness, R_height_G_edgefade_B_ao.x);
690
+
691
+ if (grout_mask < 0.999f)
692
+ {
693
+ // Grout Diffuse
694
+ grout_diff_lookup = ::base::file_texture(
695
+ texture: tex_srgb_grout_diffuse_tex,
696
+ uvw: grout_uv).tint;
697
+ grout_diff_lookup = ::nvidia::core_definitions::blend_colors(
698
+ color_1: grout_diff_lookup,
699
+ color_2: color(grout_brightness),
700
+ mode: ::base::color_layer_overlay,
701
+ weight: 1.0f).tint;
702
+ }
703
+ if (grout_mask >= 0.001f)
704
+ {
705
+ // Compositing the diffuse color
706
+ ::base::color_layer layer_1 = ::base::color_layer(
707
+ layer_color: tiles_color_2,
708
+ weight: R_noise1_G_noise2_B_craquelure.x,
709
+ mode: ::base::color_layer_blend
710
+ );
711
+ // Color 3
712
+ ::base::color_layer layer_2 = ::base::color_layer(
713
+ layer_color: tiles_color_3,
714
+ weight: R_noise1_G_noise2_B_craquelure.y,
715
+ mode: ::base::color_layer_blend
716
+ );
717
+ // Varying brightness
718
+ ::base::color_layer layer_3 = ::base::color_layer(
719
+ layer_color: color(rnd6),
720
+ weight: tiles_random_brightness,
721
+ mode: ::base::color_layer_overlay
722
+ );
723
+ // Varying glazing thickness
724
+ ::base::color_layer layer_4 = ::base::color_layer(
725
+ layer_color: ceramic_color,
726
+ weight: R_rough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f,
727
+ mode: ::base::color_layer_blend
728
+ );
729
+ // Edge Fade
730
+ ::base::color_layer layer_5 = ::base::color_layer(
731
+ layer_color: ceramic_color,
732
+ weight: glazing_edgefade_weight * (R_height_G_edgefade_B_ao.y + (0.5 - rnd3) * glazing_edgefade_randomness),
733
+ mode: ::base::color_layer_blend
734
+ );
735
+ // Craquelure
736
+ ::base::color_layer layer_6 = ::base::color_layer(
737
+ layer_color: color(::math::pow(R_noise1_G_noise2_B_craquelure.z, 2.2f)),
738
+ weight: glazing_craquelure_weight,
739
+ mode: ::base::color_layer_overlay
740
+ );
741
+
742
+ ::base::color_layer[] tile_layers = ::base::color_layer[](
743
+ layer_1, layer_2, layer_3, layer_4, layer_5, layer_6
744
+ );
745
+
746
+ tiles_diff = ::base::blend_color_layers(
747
+ layers: tile_layers,
748
+ base: tiles_color_1
749
+ ).tint;
750
+ }
751
+
752
+ ::base::texture_return tiles_diff_final = ::nvidia::core_definitions::blend_colors(
753
+ color_1: grout_diff_lookup,
754
+ color_2: tiles_diff,
755
+ mode: ::nvidia::core_definitions::color_layer_blend,
756
+ weight: grout_mask
757
+ );
758
+
759
+ tiles_diff_final = (ao_amount > 0.0) ? ::nvidia::core_definitions::blend_colors(
760
+ color_1: tiles_diff_final.tint,
761
+ color_2: color(R_height_G_edgefade_B_ao.z),
762
+ mode: ::nvidia::core_definitions::color_layer_multiply,
763
+ weight: (1.0f - grout_height) * ao_amount
764
+ ) : tiles_diff_final;
765
+
766
+
767
+ // ******** COAT Roughness ********
768
+
769
+ float glazing_roughness = histogram_range(R_rough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness);
770
+ glazing_roughness += R_rough_G_thickness_B_drops.z * drops_amount;
771
+ glazing_roughness = ::math::lerp(grout_roughness, glazing_roughness, grout_mask);
772
+
773
+
774
+ // ******** NORMALS ********
775
+ // Tiles normal
776
+ float3 tiles_normal = ::base::tangent_space_normal_texture(
777
+ texture: tex_lin_tiles_norm,
778
+ factor: tiles_bump_strength,
779
+ uvw: base_uv
780
+ );
781
+
782
+ // Grout Normal
783
+ float3 grout_normal = ::base::tangent_space_normal_texture(
784
+ texture: tex_lin_grout_normal,
785
+ factor: grout_bump_strength,
786
+ uvw: grout_uv
787
+ );
788
+
789
+ float3 orange_peel_normal = ::base::perlin_noise_bump_texture(
790
+ uvw: base_uv,
791
+ factor: glazing_orange_peel_bump * .2f,
792
+ size: glazing_orangepeel_size * ::state::scene_units_per_meter(),
793
+ apply_marble: false,
794
+ apply_dent: false,
795
+ noise_phase: 0.0f,
796
+ noise_levels: glazing_orangepeel_noise_levels,
797
+ absolute_noise: false,
798
+ ridged_noise: false,
799
+ noise_distortion: glazing_orangepeel_distortion,
800
+ noise_threshold_high: 1.0f,
801
+ noise_threshold_low: 0.0f,
802
+ noise_bands: 1.0f,
803
+ normal: ::state::normal()
804
+ );
805
+
806
+ // Randomized Tiles normals - This needs to be probably rotated with the normal of the uv-tiles
807
+ float slope_amount = 0.07 * tiles_random_slope_orientation;
808
+ float3 slope = ::math::normalize(
809
+ ::state::texture_tangent_u(0) * (rnd5 - 0.5) * slope_amount +
810
+ ::state::texture_tangent_v(0) * (rnd6 - 0.5) * slope_amount +
811
+ ::state::normal() * ((1.0f - slope_amount) + 1.0f)
812
+ );
813
+
814
+ // http://blog.selfshadow.com/publications/blending-in-detail/
815
+ float3 n_t = transform_internal_to_tangent(slope);
816
+ float3 tiles_normal_t = transform_internal_to_tangent(tiles_normal);
817
+ float3 orange_peel_normal_t = transform_internal_to_tangent(orange_peel_normal);
818
+
819
+ // 1st detail normal
820
+ n_t=n_t + float3(0.,0.,1.);
821
+ tiles_normal_t = tiles_normal_t * float3(-1.,-1.,1.);
822
+ float3 n = n_t*math::dot(n_t, tiles_normal_t)/n_t.z - tiles_normal_t;
823
+
824
+ // 2nd detail normal
825
+ n_t = n + float3(0.,0.,1.);
826
+ orange_peel_normal_t = orange_peel_normal_t * float3(-1.,-1.,1.);
827
+ n = n_t*math::dot(n_t, orange_peel_normal_t)/n_t.z - orange_peel_normal_t;
828
+
829
+ float3 normal_final = ::math::normalize(transform_tangent_to_internal(n));
830
+ normal_final = ::math::lerp(grout_normal, normal_final, grout_mask);
831
+
832
+ return ceramic_tiles_return(
833
+ diffuse: tiles_diff_final.tint,
834
+ dirt: R_rough_G_thickness_B_drops.x,
835
+ tiles_isotropic_rough_squared: 0.2,
836
+ glazing_roughness: glazing_roughness * glazing_roughness,
837
+ normal: normal_final,
838
+ randvals: float4(rnd1, rnd2, rnd3, rnd4),
839
+ tiles_uvw: tiles_lookup_uvw_1
840
+ );
841
+ }
842
+
843
+
844
+ export material Ceramic_Tiles_Glazed_Penny(
845
+
846
+ // Main Tweaks
847
+ int tiles_random_seed = 0
848
+ [[
849
+ ::anno::description("Choose a different seed number to obtain a different randomization pattern."),
850
+ ::anno::display_name("Tiles Random Seed"),
851
+ ::anno::in_group("Appearance"),
852
+ ::anno::ui_order(0)
853
+ ]],
854
+ color tiles_color_1 = color(0.014444f, 0.034340f, 0.215861f)
855
+ [[
856
+ ::anno::description("Mixing color 1 for the ceramic tiles."),
857
+ ::anno::display_name("Tiles Color 1"),
858
+ ::anno::in_group("Appearance"),
859
+ ::anno::ui_order(1)
860
+ ]],
861
+ color tiles_color_2 = color(0.017642f, 0.039546f, 0.219526f)
862
+ [[
863
+ ::anno::description("Mixing color 2 for the ceramic tiles."),
864
+ ::anno::display_name("Tiles Color 2"),
865
+ ::anno::in_group("Appearance"),
866
+ ::anno::ui_order(2)
867
+ ]],
868
+ color tiles_color_3 = color(0.014444f, 0.018500f, 0.219526f)
869
+ [[
870
+ ::anno::description("Mixing color 3 for the tiles."),
871
+ ::anno::display_name("Tiles Color 3"),
872
+ ::anno::in_group("Appearance"),
873
+ ::anno::ui_order(3)
874
+ ]],
875
+ float tiles_random_brightness = 0.015f
876
+ [[
877
+ ::anno::description("Randomly modifies the brightness of the tiles."),
878
+ ::anno::display_name("Tiles Random Brightness"),
879
+ ::anno::in_group("Appearance"),
880
+ ::anno::hard_range(0.0f, 1.0f),
881
+ ::anno::ui_order(4)
882
+ ]],
883
+ float tiles_roughness = 0.039f
884
+ [[
885
+ ::anno::description("The basic roughness of the tiles."),
886
+ ::anno::display_name("Tiles Roughness"),
887
+ ::anno::hard_range(0.f, 1.f),
888
+ ::anno::in_group("Appearance"),
889
+ ::anno::ui_order(5)
890
+ ]],
891
+ float tiles_roughness_range = 0.003f
892
+ [[
893
+ ::anno::description("The amount how much the roughness is varying around its base roughness value."),
894
+ ::anno::display_name("Tiles Roughness Range"),
895
+ ::anno::hard_range(0.f, 1.f),
896
+ ::anno::in_group("Appearance"),
897
+ ::anno::ui_order(6)
898
+ ]],
899
+ float tiles_random_slope_orientation = 0.1f
900
+ [[
901
+ ::anno::description("When increasing this value, tiles are slanted in random directions. "
902
+ "This breaks up the even look and gives the appearance that the tiles work was done by hand."),
903
+ ::anno::display_name("Tiles Random Slope Orientation"),
904
+ ::anno::soft_range(0.0f, 1.0f),
905
+ ::anno::hard_range(0.0f, 5.0f),
906
+ ::anno::in_group("Appearance"),
907
+ ::anno::ui_order(7)
908
+ ]],
909
+ uniform float glazing_orange_peel_bump = 0.03f
910
+ [[
911
+ ::anno::description("Adds an unevenness to the glazing so that it appears more natural."),
912
+ ::anno::display_name("Glazing Orange Peel Bump"),
913
+ ::anno::soft_range(0.0f, 1.0f),
914
+ ::anno::hard_range(0.0f, 5.0f),
915
+ ::anno::in_group("Appearance"),
916
+ ::anno::ui_order(8)
917
+ ]],
918
+ float glazing_edgefade_weight = 0.0f
919
+ [[
920
+ ::anno::description("Adds a fading effect so that the glazing is thinner at the edges "
921
+ "of the tiles. This revelas the ceramic color which will begin to shine through."),
922
+ ::anno::display_name("Glazing Edgefade Weight"),
923
+ ::anno::hard_range(0.0f, 1.0f),
924
+ ::anno::in_group("Appearance"),
925
+ ::anno::ui_order(9)
926
+ ]],
927
+ float glazing_edgefade_randomness = 0.0f
928
+ [[
929
+ ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."),
930
+ ::anno::display_name("Glazing Edgefade Randomness"),
931
+ ::anno::enable_if("glazing_edgefade_weight > 0.0f"),
932
+ ::anno::hard_range(0.0f, 1.0f),
933
+ ::anno::in_group("Appearance"),
934
+ ::anno::ui_order(10)
935
+ ]],
936
+ float glazing_craquelure_weight = 0.7f
937
+ [[
938
+ ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."),
939
+ ::anno::display_name("Glazing Craquelure Weight"),
940
+ ::anno::hard_range(0.0f, 1.0f),
941
+ ::anno::in_group("Appearance"),
942
+ ::anno::ui_order(11)
943
+ ]],
944
+ float drops_amount = 0.0f
945
+ [[
946
+ ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."),
947
+ ::anno::display_name("Drops Amount"),
948
+ ::anno::in_group("Appearance"),
949
+ ::anno::hard_range(0.f, 1.f),
950
+ ::anno::ui_order(12)
951
+ ]],
952
+ float grout_brightness = 0.7f
953
+ [[
954
+ ::anno::description("Adjusts the brightness of the grout."),
955
+ ::anno::display_name("Grout Brightness"),
956
+ ::anno::in_group("Appearance"),
957
+ ::anno::hard_range(0.f, 1.f),
958
+ ::anno::ui_order(13)
959
+ ]],
960
+ float grout_height = 0.05f
961
+ [[
962
+ ::anno::description("The height of the grout."),
963
+ ::anno::display_name("Grout Height"),
964
+ ::anno::in_group("Appearance"),
965
+ ::anno::hard_range(0.f, 1.f),
966
+ ::anno::ui_order(14)
967
+ ]],
968
+ uniform float grout_scale = 1.0f
969
+ [[
970
+ ::anno::description("Scales the texture lookup for the grout independently from the tiles."),
971
+ ::anno::display_name("Grout Scale"),
972
+ ::anno::in_group("Advanced", "Grout"),
973
+ ::anno::soft_range(0.f, 2.f),
974
+ ::anno::ui_order(15)
975
+ ]],
976
+ uniform float tiles_bump_strength = 1.0f
977
+ [[
978
+ ::anno::description("Adjusts the strength of the tiles bump map."),
979
+ ::anno::display_name("Tiles Bump Strength"),
980
+ ::anno::hard_range(0.0f, 1.0f),
981
+ ::anno::in_group("Appearance"),
982
+ ::anno::ui_order(16)
983
+ ]],
984
+ color dirt_color = color(0.0582f, 0.037f, 0.0265f)
985
+ [[
986
+ ::anno::description("Sets the color of the dirt layer."),
987
+ ::anno::display_name("Dirt Layer Color"),
988
+ ::anno::in_group("Appearance", "Dirt"),
989
+ ::anno::ui_order(17)
990
+ ]],
991
+ float dirt_weight = 0.0f
992
+ [[
993
+ ::anno::description("The weight of the dirt layer."),
994
+ ::anno::display_name("Dirt Weight"),
995
+ ::anno::in_group("Appearance", "Dirt"),
996
+ ::anno::soft_range(0.f, 1.f),
997
+ ::anno::ui_order(18)
998
+ ]],
999
+
1000
+ uniform float2 texture_translate = float2(0.f) [[
1001
+ ::anno::description("Controls the position of the texture."),
1002
+ ::anno::display_name("Texture Translate"),
1003
+ ::anno::in_group("Transform"),
1004
+ ::anno::ui_order(19)
1005
+ ]],
1006
+ uniform float texture_rotate = 0.f [[
1007
+ ::anno::description("Rotates angle of the texture in degrees."),
1008
+ ::anno::display_name("Texture Rotate"),
1009
+ ::anno::in_group("Transform"),
1010
+ ::anno::soft_range(-360.f, 360.f),
1011
+ ::anno::ui_order(20)
1012
+ ]],
1013
+ uniform float2 texture_scale = float2(1.f) [[
1014
+ ::anno::description("Larger numbers increase the size."),
1015
+ ::anno::display_name("Texture Scale"),
1016
+ ::nvidia::core_definitions::dimension(float2(1.0, 1.0)),
1017
+ ::anno::in_group("Transform"),
1018
+ ::anno::ui_order(21)
1019
+ ]],
1020
+
1021
+
1022
+
1023
+
1024
+ float tiles_rotate = 0.0f // global rotation of texture in the tiles
1025
+ [[
1026
+ ::anno::description("Globally rotates the texture lookup for the tiles textures in degrees."),
1027
+ ::anno::display_name("Tiles Texture Rotate"),
1028
+ ::anno::in_group("Advanced", "Tiles"),
1029
+ ::anno::ui_order(22)
1030
+ ]],
1031
+ float tiles_random_rotation = 1.0f // random rotation amount in degrees
1032
+ [[
1033
+ ::anno::description("Randomly rotates the textures for the tiles in degrees."),
1034
+ ::anno::display_name("Tiles Random Rotation"),
1035
+ ::anno::soft_range(0.f, 360.f),
1036
+ ::anno::in_group("Advanced", "Tiles"),
1037
+ ::anno::ui_order(23)
1038
+ ]],
1039
+ float tiles_scale = 1.0f
1040
+ [[
1041
+ ::anno::description("Scales the texture in the tiles."),
1042
+ ::anno::display_name("Tiles Texture Scale"),
1043
+ ::anno::soft_range(0.0f, 2.0f),
1044
+ ::anno::in_group("Advanced", "Tiles"),
1045
+ ::anno::ui_order(24)
1046
+ ]],
1047
+ float tiles_random_scale = 0.0f
1048
+ [[
1049
+ ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."),
1050
+ ::anno::display_name("Tiles Random Texture Scale"),
1051
+ ::anno::soft_range(0.0f, 1.0f),
1052
+ ::anno::in_group("Advanced", "Tiles"),
1053
+ ::anno::ui_order(25)
1054
+ ]],
1055
+
1056
+ float glazing_varying_thickness_weight = 0.00f
1057
+ [[
1058
+ ::anno::description("Adds a varying thickness to the glazing which makes the underlying "
1059
+ "ceramic color shine through."),
1060
+ ::anno::display_name("Glazing Varying Thickness Weight"),
1061
+ ::anno::hard_range(0.0f, 1.0f),
1062
+ ::anno::in_group("Advanced", "Glazing"),
1063
+ ::anno::ui_order(26)
1064
+ ]],
1065
+ uniform float glazing_orangepeel_size = 0.05f
1066
+ [[
1067
+ ::anno::description("Adjusts the size of the orangepeel on the glazing."),
1068
+ ::anno::display_name("Glazing Orange Peel Size"),
1069
+ ::anno::soft_range(0.0f, 1.0f),
1070
+ ::anno::in_group("Advanced", "Glazing"),
1071
+ ::anno::ui_order(27)
1072
+ ]],
1073
+ uniform int glazing_orangepeel_noise_levels = 4
1074
+ [[
1075
+ ::anno::description("A higher number of levels makes the glazing layer to appear noisier "
1076
+ "while a low level gives the glazing a realtively smooth appearance."),
1077
+ ::anno::display_name("Glazing Orange Peel Noise Levels"),
1078
+ ::anno::soft_range(0, 6),
1079
+ ::anno::in_group("Advanced", "Glazing"),
1080
+ ::anno::ui_order(28)
1081
+ ]],
1082
+
1083
+ float grout_roughness = 0.8f
1084
+ [[
1085
+ ::anno::description("The roughness of the grout."),
1086
+ ::anno::display_name("Grout Roughness"),
1087
+ ::anno::in_group("Advanced", "Grout"),
1088
+ ::anno::hard_range(0.f, 1.f),
1089
+ ::anno::ui_order(29)
1090
+ ]],
1091
+ float grout_softness = 0.05f
1092
+ [[
1093
+ ::anno::description("The softness of the transition between the grout and the tiles."),
1094
+ ::anno::display_name("Grout Transition Roughness"),
1095
+ ::anno::in_group("Advanced", "Grout"),
1096
+ ::anno::hard_range(0.f, 1.f),
1097
+ ::anno::ui_order(30)
1098
+ ]],
1099
+ uniform float grout_bump_strength = 1.0f
1100
+ [[
1101
+ ::anno::description("The strength of the grout bumpmap."),
1102
+ ::anno::display_name("Grout Bump Strength"),
1103
+ ::anno::in_group("Advanced", "Grout"),
1104
+ ::anno::hard_range(0.f, 1.f),
1105
+ ::anno::ui_order(31)
1106
+ ]],
1107
+ float ao_amount = 0.5f
1108
+ [[
1109
+ ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."),
1110
+ ::anno::display_name("Ambient Occlusion Amount"),
1111
+ ::anno::in_group("Advanced"),
1112
+ ::anno::hard_range(0.f, 1.f),
1113
+ ::anno::ui_order(32)
1114
+ ]],
1115
+ uniform int uv_space_index = 0
1116
+ [[
1117
+ ::anno::description("The UV texture space to be used."),
1118
+ ::anno::display_name("Texture Space"),
1119
+ ::anno::in_group("Advanced"),
1120
+ ::anno::ui_order(33)
1121
+ ]]
1122
+
1123
+ )
1124
+ [[
1125
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1126
+ ::anno::in_group("Tiles"),
1127
+ ::anno::display_name("Glazed Penny Tiles - Dark Blue"),
1128
+ ::anno::copyright_notice(COPYRIGHT),
1129
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_New.png"),
1130
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "dark", "saturated")),
1131
+ ::anno::author("NVIDIA vMaterials"),
1132
+ ::anno::contributor("Ruediger Raab"),
1133
+ ::anno::contributor("Maik Rohland")
1134
+ ]] =
1135
+ let {
1136
+ texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./textures/penny_R_id_G_offs_B_rotation.png", ::tex::gamma_linear);
1137
+ texture_2d tex_lin_tiles_norm = texture_2d("./textures/penny_norm.jpg", ::tex::gamma_linear);
1138
+ texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./textures/penny_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear);
1139
+ texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./textures/tiles_multi_R_noise1_G_noise2_B_craquelure.jpg", ::tex::gamma_linear);
1140
+ texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./textures/tiles_multi_R_rough_G_thickness_B_drops.jpg", ::tex::gamma_linear);
1141
+ texture_2d tex_srgb_grout_diffuse_tex = texture_2d("./textures/mortar_diff.jpg", ::tex::gamma_srgb);
1142
+ texture_2d tex_lin_grout_normal = texture_2d("./textures/mortar_norm.jpg", ::tex::gamma_linear);
1143
+
1144
+
1145
+ ceramic_tiles_return ret = Ceramic_Tiles_Glazed_Penny_Generator(
1146
+ tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex,
1147
+ tex_tiles_multi_R_noise1_G_noise2_B_craquelure: tex_tiles_multi_R_noise1_G_noise2_B_craquelure,
1148
+ tex_tiles_multi_R_rough_G_thickness_B_drops: tex_tiles_multi_R_rough_G_thickness_B_drops,
1149
+ tex_tiles_multi_R_height_G_edgefade_B_ao: tex_tiles_multi_R_height_G_edgefade_B_ao,
1150
+ tex_lin_tiles_norm: tex_lin_tiles_norm,
1151
+ tex_srgb_grout_diffuse_tex: tex_srgb_grout_diffuse_tex,
1152
+ tex_lin_grout_normal: tex_lin_grout_normal,
1153
+
1154
+ tiles_random_seed: tiles_random_seed,
1155
+ tiles_color_1: tiles_color_1,
1156
+ tiles_color_2: tiles_color_2,
1157
+ tiles_color_3: tiles_color_3,
1158
+ tiles_random_brightness: tiles_random_brightness,
1159
+ tiles_bump_strength: tiles_bump_strength,
1160
+ tiles_random_slope_orientation: tiles_random_slope_orientation,
1161
+ tiles_rotate: tiles_rotate,
1162
+ tiles_random_rotation : tiles_random_rotation,
1163
+ tiles_scale : tiles_scale,
1164
+ tiles_random_scale: tiles_random_scale,
1165
+
1166
+ glazing_varying_thickness_weight: glazing_varying_thickness_weight,
1167
+ glazing_edgefade_weight: glazing_edgefade_weight,
1168
+ glazing_edgefade_randomness: glazing_edgefade_randomness,
1169
+ glazing_craquelure_weight: glazing_craquelure_weight,
1170
+ glazing_orange_peel_bump: glazing_orange_peel_bump,
1171
+ glazing_orangepeel_size: glazing_orangepeel_size,
1172
+ glazing_orangepeel_noise_levels: glazing_orangepeel_noise_levels,
1173
+
1174
+ tiles_roughness: tiles_roughness,
1175
+ tiles_roughness_range: tiles_roughness_range,
1176
+ drops_amount: drops_amount,
1177
+ grout_roughness: grout_roughness,
1178
+
1179
+ grout_brightness: grout_brightness,
1180
+ grout_height: grout_height,
1181
+ grout_softness: grout_softness,
1182
+ grout_bump_strength: grout_bump_strength,
1183
+ grout_scale: grout_scale,
1184
+ ao_amount: ao_amount,
1185
+
1186
+ texture_translate: texture_translate,
1187
+ texture_rotate: texture_rotate,
1188
+ texture_scale: texture_scale,
1189
+
1190
+ uv_space_index: uv_space_index
1191
+ );
1192
+
1193
+ bsdf diff = ::df::diffuse_reflection_bsdf(
1194
+ tint: ret.diffuse
1195
+ );
1196
+
1197
+
1198
+ } in material (
1199
+ surface : material_surface (
1200
+ scattering :
1201
+ ::df::weighted_layer(
1202
+ weight: dirt_weight * ret.dirt,
1203
+ layer: ::df::diffuse_reflection_bsdf ( tint: dirt_color),
1204
+ base: df::fresnel_layer (
1205
+ ior : 1.5,
1206
+ layer : df::microfacet_ggx_smith_bsdf(
1207
+ roughness_u: ret.glazing_roughness,
1208
+ roughness_v: ret.glazing_roughness,
1209
+ tint : color(1.),
1210
+ mode : df::scatter_reflect),
1211
+ base : diff
1212
+ )
1213
+ )
1214
+ ),
1215
+ geometry: material_geometry(
1216
+ normal: ret.normal
1217
+ )
1218
+ );
1219
+
1220
+ export material Ceramic_Tiles_Penny_Dark_Blue_New_Matte(*)
1221
+ [[
1222
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1223
+ ::anno::in_group("Tiles"),
1224
+ ::anno::display_name("Glazed Penny Tiles - Dark Blue Matte"),
1225
+ ::anno::copyright_notice(COPYRIGHT),
1226
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_New_Matte.png"),
1227
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "blue", "dark", "cool", "saturated")),
1228
+ ::anno::author("NVIDIA vMaterials"),
1229
+ ::anno::contributor("Ruediger Raab"),
1230
+ ::anno::contributor("Maik Rohland")
1231
+ ]] = Ceramic_Tiles_Glazed_Penny(
1232
+ tiles_random_seed: 0,
1233
+ tiles_color_1: color(0.014444f, 0.034340f, 0.215861f),
1234
+ tiles_color_2: color(0.017642f, 0.039546f, 0.219526f),
1235
+ tiles_color_3: color(0.014444f, 0.018500f, 0.219526f),
1236
+ tiles_random_brightness: 0.015f,
1237
+ tiles_roughness: 0.32f,
1238
+ tiles_roughness_range: 0.38f,
1239
+ tiles_random_slope_orientation: 0.15f,
1240
+ glazing_orange_peel_bump: 0.03f,
1241
+ glazing_edgefade_weight: 0.00f,
1242
+ glazing_edgefade_randomness: 0.00f,
1243
+ glazing_craquelure_weight: 0.00f,
1244
+ drops_amount: 0.00f,
1245
+ grout_brightness: 0.70f,
1246
+ grout_height: 0.05f,
1247
+ grout_scale: 0.52f,
1248
+ tiles_bump_strength: 1.00f,
1249
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1250
+ dirt_weight: 0.0f,
1251
+ texture_translate: float2(0.0f),
1252
+ texture_rotate: 0.00f,
1253
+ texture_scale: float2(1.00f),
1254
+ tiles_rotate: 0.00f,
1255
+ tiles_random_rotation: 0.00f,
1256
+ tiles_scale: 1.00f,
1257
+ tiles_random_scale: 0.00f,
1258
+ glazing_varying_thickness_weight: 0.00f,
1259
+ glazing_orangepeel_size: 0.05f,
1260
+ glazing_orangepeel_noise_levels: 4,
1261
+ grout_roughness: 0.8f,
1262
+ grout_softness: 0.1f,
1263
+ grout_bump_strength: 1.0f,
1264
+ ao_amount: 0.5f,
1265
+ uv_space_index: 0
1266
+ );
1267
+
1268
+ export material Ceramic_Tiles_Penny_Dark_Blue_Varied_New(*)
1269
+ [[
1270
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1271
+ ::anno::in_group("Tiles"),
1272
+ ::anno::display_name("Glazed Penny Tiles - Dark Blue Varied"),
1273
+ ::anno::copyright_notice(COPYRIGHT),
1274
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Dark_Blue_Varied_New.png"),
1275
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "dark", "cool", "saturated", "random")),
1276
+ ::anno::author("NVIDIA vMaterials"),
1277
+ ::anno::contributor("Ruediger Raab"),
1278
+ ::anno::contributor("Maik Rohland")
1279
+ ]] = Ceramic_Tiles_Glazed_Penny(
1280
+ tiles_random_seed: 0,
1281
+ tiles_color_1: color(0.014444f, 0.034340f, 0.215861f),
1282
+ tiles_color_2: color(0.017642f, 0.039546f, 0.219526f),
1283
+ tiles_color_3: color(0.014444f, 0.018500f, 0.219526f),
1284
+ tiles_random_brightness: 1.0f,
1285
+ tiles_roughness: 0.039f,
1286
+ tiles_roughness_range: 0.003f,
1287
+ tiles_random_slope_orientation: 0.15f,
1288
+ glazing_orange_peel_bump: 0.03f,
1289
+ glazing_edgefade_weight: 0.07f,
1290
+ glazing_edgefade_randomness: 0.77f,
1291
+ glazing_craquelure_weight: 0.7f,
1292
+ drops_amount: 0.00f,
1293
+ grout_brightness: 0.70f,
1294
+ grout_height: 0.05f,
1295
+ grout_scale: 0.52f,
1296
+ tiles_bump_strength: 1.00f,
1297
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1298
+ dirt_weight: 0.0f,
1299
+ texture_translate: float2(0.0f),
1300
+ texture_rotate: 0.00f,
1301
+ texture_scale: float2(1.00f),
1302
+ tiles_rotate: 0.00f,
1303
+ tiles_random_rotation: 0.00f,
1304
+ tiles_scale: 1.00f,
1305
+ tiles_random_scale: 0.00f,
1306
+ glazing_varying_thickness_weight: 0.00f,
1307
+ glazing_orangepeel_size: 0.05f,
1308
+ glazing_orangepeel_noise_levels: 4,
1309
+ grout_roughness: 0.8f,
1310
+ grout_softness: 0.1f,
1311
+ grout_bump_strength: 1.0f,
1312
+ ao_amount: 0.5f,
1313
+ uv_space_index: 0
1314
+ );
1315
+
1316
+
1317
+ export material Ceramic_Tiles_Penny_Antique_White(*)
1318
+ [[
1319
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1320
+ ::anno::in_group("Tiles"),
1321
+ ::anno::display_name("Glazed Penny Tiles - Antique White"),
1322
+ ::anno::copyright_notice(COPYRIGHT),
1323
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Antique_White.png"),
1324
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "old", "antique", "shiny", "white", "light", "neutral")),
1325
+ ::anno::author("NVIDIA vMaterials"),
1326
+ ::anno::contributor("Ruediger Raab"),
1327
+ ::anno::contributor("Maik Rohland")
1328
+ ]] = Ceramic_Tiles_Glazed_Penny(
1329
+ tiles_random_seed: 0,
1330
+ tiles_color_1: color(0.603827f, 0.533276f, 0.473531f),
1331
+ tiles_color_2: color(0.274677f, 0.246201f, 0.223228f),
1332
+ tiles_color_3: color(0.617207f, 0.617207f, 0.496933f),
1333
+ tiles_random_brightness: 0.02f,
1334
+ tiles_roughness: 0.039f,
1335
+ tiles_roughness_range: 0.008f,
1336
+ tiles_random_slope_orientation: 0.2f,
1337
+ glazing_orange_peel_bump: 0.15f,
1338
+ glazing_edgefade_weight: 0.17f,
1339
+ glazing_edgefade_randomness: 0.50f,
1340
+ glazing_craquelure_weight: 0.66f,
1341
+ drops_amount: 0.40f,
1342
+ grout_brightness: 0.09f,
1343
+ grout_height: 0.05f,
1344
+ grout_scale: 0.52f,
1345
+ tiles_bump_strength: 1.00f,
1346
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1347
+ dirt_weight: 0.0f,
1348
+ texture_translate: float2(0.0f),
1349
+ texture_rotate: 0.00f,
1350
+ texture_scale: float2(1.00f),
1351
+ tiles_rotate: 0.00f,
1352
+ tiles_random_rotation: 360.0f,
1353
+ tiles_scale: 1.00f,
1354
+ tiles_random_scale: 0.25f,
1355
+ glazing_varying_thickness_weight: 0.00f,
1356
+ glazing_orangepeel_size: 0.05f,
1357
+ glazing_orangepeel_noise_levels: 4,
1358
+ grout_roughness: 0.8f,
1359
+ grout_softness: 0.1f,
1360
+ grout_bump_strength: 1.0f,
1361
+ ao_amount: 1.00f,
1362
+ uv_space_index: 0
1363
+ );
1364
+
1365
+
1366
+ export material Ceramic_Tiles_Penny_White_Matte(*)
1367
+ [[
1368
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1369
+ ::anno::in_group("Tiles"),
1370
+ ::anno::display_name("Glazed Penny Tiles - White Matte"),
1371
+ ::anno::copyright_notice(COPYRIGHT),
1372
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_White_Matte.png"),
1373
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "white", "light", "neutral")),
1374
+ ::anno::author("NVIDIA vMaterials"),
1375
+ ::anno::contributor("Ruediger Raab"),
1376
+ ::anno::contributor("Maik Rohland")
1377
+ ]] = Ceramic_Tiles_Glazed_Penny(
1378
+ tiles_random_seed: 0,
1379
+ tiles_color_1: color(0.651406f, 0.651406f, 0.651406f),
1380
+ tiles_color_2: color(0.651406f, 0.651406f, 0.597202f),
1381
+ tiles_color_3: color(0.623960f, 0.623960f, 0.623960f),
1382
+ tiles_random_brightness: 0.02f,
1383
+ tiles_roughness: 0.32f,
1384
+ tiles_roughness_range: 0.07f,
1385
+ tiles_random_slope_orientation: 0.71f,
1386
+ glazing_orange_peel_bump: 0.2f,
1387
+ glazing_edgefade_weight: 0.00f,
1388
+ glazing_edgefade_randomness: 0.00f,
1389
+ glazing_craquelure_weight: 0.20f,
1390
+ drops_amount: 0.23f,
1391
+ grout_brightness: 0.11f,
1392
+ grout_height: 0.05f,
1393
+ grout_scale: 0.52f,
1394
+ tiles_bump_strength: 1.00f,
1395
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1396
+ dirt_weight: 0.0f,
1397
+ texture_translate: float2(0.0f),
1398
+ texture_rotate: 0.00f,
1399
+ texture_scale: float2(1.00f),
1400
+ tiles_rotate: 0.00f,
1401
+ tiles_random_rotation: 0.00f,
1402
+ tiles_scale: 1.00f,
1403
+ tiles_random_scale: 0.00f,
1404
+ glazing_varying_thickness_weight: 0.00f,
1405
+ glazing_orangepeel_size: 0.05f,
1406
+ glazing_orangepeel_noise_levels: 4,
1407
+ grout_roughness: 0.8f,
1408
+ grout_softness: 0.1f,
1409
+ grout_bump_strength: 1.0f,
1410
+ ao_amount: 1.0f,
1411
+ uv_space_index: 0
1412
+ );
1413
+
1414
+
1415
+ export material Ceramic_Tiles_Penny_Black(*)
1416
+ [[
1417
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1418
+ ::anno::in_group("Tiles"),
1419
+ ::anno::display_name("Glazed Penny Tiles - Black"),
1420
+ ::anno::copyright_notice(COPYRIGHT),
1421
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Black.png"),
1422
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "black", "dark", "neutral")),
1423
+ ::anno::author("NVIDIA vMaterials"),
1424
+ ::anno::contributor("Ruediger Raab"),
1425
+ ::anno::contributor("Maik Rohland")
1426
+ ]] = Ceramic_Tiles_Glazed_Penny(
1427
+ tiles_random_seed: 0,
1428
+ tiles_color_1: color(0.012983f, 0.012983f, 0.012983f),
1429
+ tiles_color_2: color(0.012983f, 0.012983f, 0.012983f),
1430
+ tiles_color_3: color(0.009721f, 0.009721f, 0.009721f),
1431
+ tiles_random_brightness: 0.015f,
1432
+ tiles_roughness: 0.039f,
1433
+ tiles_roughness_range: 0.008f,
1434
+ tiles_random_slope_orientation: 0.2f,
1435
+ glazing_orange_peel_bump: 0.03f,
1436
+ glazing_edgefade_weight: 0.00f,
1437
+ glazing_edgefade_randomness: 0.00f,
1438
+ glazing_craquelure_weight: 0.00f,
1439
+ drops_amount: 0.00f,
1440
+ grout_brightness: 0.70f,
1441
+ grout_height: 0.05f,
1442
+ grout_scale: 0.52f,
1443
+ tiles_bump_strength: 1.00f,
1444
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1445
+ dirt_weight: 0.0f,
1446
+ texture_translate: float2(0.0f),
1447
+ texture_rotate: 0.00f,
1448
+ texture_scale: float2(1.00f),
1449
+ tiles_rotate: 0.00f,
1450
+ tiles_random_rotation: 0.00f,
1451
+ tiles_scale: 1.00f,
1452
+ tiles_random_scale: 0.00f,
1453
+ glazing_varying_thickness_weight: 0.00f,
1454
+ glazing_orangepeel_size: 0.05f,
1455
+ glazing_orangepeel_noise_levels: 4,
1456
+ grout_roughness: 0.8f,
1457
+ grout_softness: 0.1f,
1458
+ grout_bump_strength: 1.0f,
1459
+ ao_amount: 0.5f,
1460
+ uv_space_index: 0
1461
+ );
1462
+
1463
+
1464
+ export material Ceramic_Tiles_Penny_Black_Matte(*)
1465
+ [[
1466
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1467
+ ::anno::in_group("Tiles"),
1468
+ ::anno::display_name("Glazed Penny Tiles - Black Matte"),
1469
+ ::anno::copyright_notice(COPYRIGHT),
1470
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Black_Matte.png"),
1471
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "black", "dark", "neutral")),
1472
+ ::anno::author("NVIDIA vMaterials"),
1473
+ ::anno::contributor("Ruediger Raab"),
1474
+ ::anno::contributor("Maik Rohland")
1475
+ ]] = Ceramic_Tiles_Glazed_Penny(
1476
+ tiles_random_seed: 0,
1477
+ tiles_color_1: color(0.012983f, 0.012983f, 0.012983f),
1478
+ tiles_color_2: color(0.012983f, 0.012983f, 0.012983f),
1479
+ tiles_color_3: color(0.009721f, 0.009721f, 0.009721f),
1480
+ tiles_random_brightness: 0.015f,
1481
+ tiles_roughness: 0.32f,
1482
+ tiles_roughness_range: 0.38f,
1483
+ tiles_random_slope_orientation: 0.20f,
1484
+ glazing_orange_peel_bump: 0.03f,
1485
+ glazing_edgefade_weight: 0.00f,
1486
+ glazing_edgefade_randomness: 0.00f,
1487
+ glazing_craquelure_weight: 0.00f,
1488
+ drops_amount: 0.15f,
1489
+ grout_brightness: 0.70f,
1490
+ grout_height: 0.05f,
1491
+ grout_scale: 0.52f,
1492
+ tiles_bump_strength: 1.00f,
1493
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1494
+ dirt_weight: 0.0f,
1495
+ texture_translate: float2(0.0f),
1496
+ texture_rotate: 0.00f,
1497
+ texture_scale: float2(1.00f),
1498
+ tiles_rotate: 0.00f,
1499
+ tiles_random_rotation: 0.00f,
1500
+ tiles_scale: 1.00f,
1501
+ tiles_random_scale: 0.00f,
1502
+ glazing_varying_thickness_weight: 0.00f,
1503
+ glazing_orangepeel_size: 0.05f,
1504
+ glazing_orangepeel_noise_levels: 4,
1505
+ grout_roughness: 0.8f,
1506
+ grout_softness: 0.1f,
1507
+ grout_bump_strength: 1.0f,
1508
+ ao_amount: 0.5f,
1509
+ uv_space_index: 0
1510
+ );
1511
+
1512
+
1513
+
1514
+
1515
+ export material Ceramic_Tiles_Penny_Graphite(*)
1516
+ [[
1517
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1518
+ ::anno::in_group("Tiles"),
1519
+ ::anno::display_name("Glazed Penny Tiles - Graphite"),
1520
+ ::anno::copyright_notice(COPYRIGHT),
1521
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite.png"),
1522
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "gray", "graphite", "neutral")),
1523
+ ::anno::author("NVIDIA vMaterials"),
1524
+ ::anno::contributor("Ruediger Raab"),
1525
+ ::anno::contributor("Maik Rohland")
1526
+ ]] = Ceramic_Tiles_Glazed_Penny(
1527
+ tiles_random_seed: 0,
1528
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1529
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1530
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1531
+ tiles_random_brightness: 0.1f,
1532
+ tiles_roughness: 0.039f,
1533
+ tiles_roughness_range: 0.008f,
1534
+ tiles_random_slope_orientation: 0.15f,
1535
+ glazing_orange_peel_bump: 0.03f,
1536
+ glazing_edgefade_weight: 0.00f,
1537
+ glazing_edgefade_randomness: 0.00f,
1538
+ glazing_craquelure_weight: 0.00f,
1539
+ drops_amount: 0.14f,
1540
+ grout_brightness: 0.70f,
1541
+ grout_height: 0.05f,
1542
+ grout_scale: 0.52f,
1543
+ tiles_bump_strength: 1.00f,
1544
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1545
+ dirt_weight: 0.0f,
1546
+ texture_translate: float2(0.0f),
1547
+ texture_rotate: 0.00f,
1548
+ texture_scale: float2(1.00f),
1549
+ tiles_rotate: 0.00f,
1550
+ tiles_random_rotation: 0.00f,
1551
+ tiles_scale: 1.00f,
1552
+ tiles_random_scale: 0.00f,
1553
+ glazing_varying_thickness_weight: 0.00f,
1554
+ glazing_orangepeel_size: 0.05f,
1555
+ glazing_orangepeel_noise_levels: 4,
1556
+ grout_roughness: 0.8f,
1557
+ grout_softness: 0.1f,
1558
+ grout_bump_strength: 1.0f,
1559
+ ao_amount: 1.0f,
1560
+ uv_space_index: 0
1561
+ );
1562
+
1563
+
1564
+ export material Ceramic_Tiles_Penny_Graphite_Varied(*)
1565
+ [[
1566
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1567
+ ::anno::in_group("Tiles"),
1568
+ ::anno::display_name("Glazed Penny Tiles - Graphite Varied"),
1569
+ ::anno::copyright_notice(COPYRIGHT),
1570
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite_Varied.png"),
1571
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "gray", "graphite", "neutral", "random")),
1572
+ ::anno::author("NVIDIA vMaterials"),
1573
+ ::anno::contributor("Ruediger Raab"),
1574
+ ::anno::contributor("Maik Rohland")
1575
+ ]] = Ceramic_Tiles_Glazed_Penny(
1576
+ tiles_random_seed: 0,
1577
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1578
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1579
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1580
+ tiles_random_brightness: 0.78f,
1581
+ tiles_roughness: 0.039f,
1582
+ tiles_roughness_range: 0.008f,
1583
+ tiles_random_slope_orientation: 0.15f,
1584
+ glazing_orange_peel_bump: 0.03f,
1585
+ glazing_edgefade_weight: 0.00f,
1586
+ glazing_edgefade_randomness: 0.00f,
1587
+ glazing_craquelure_weight: 0.00f,
1588
+ drops_amount: 0.14f,
1589
+ grout_brightness: 0.70f,
1590
+ grout_height: 0.05f,
1591
+ grout_scale: 0.52f,
1592
+ tiles_bump_strength: 1.00f,
1593
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1594
+ dirt_weight: 0.0f,
1595
+ texture_translate: float2(0.0f),
1596
+ texture_rotate: 0.00f,
1597
+ texture_scale: float2(1.00f),
1598
+ tiles_rotate: 0.00f,
1599
+ tiles_random_rotation: 0.00f,
1600
+ tiles_scale: 1.00f,
1601
+ tiles_random_scale: 0.00f,
1602
+ glazing_varying_thickness_weight: 0.00f,
1603
+ glazing_orangepeel_size: 0.05f,
1604
+ glazing_orangepeel_noise_levels: 4,
1605
+ grout_roughness: 0.8f,
1606
+ grout_softness: 0.1f,
1607
+ grout_bump_strength: 1.0f,
1608
+ ao_amount: 1.0f,
1609
+ uv_space_index: 0
1610
+ );
1611
+
1612
+
1613
+ export material Ceramic_Tiles_Penny_Graphite_Matte(*)
1614
+ [[
1615
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1616
+ ::anno::in_group("Tiles"),
1617
+ ::anno::display_name("Glazed Penny Tiles - Graphite Matte"),
1618
+ ::anno::copyright_notice(COPYRIGHT),
1619
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Graphite_Matte.png"),
1620
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "gray", "graphite", "neutral")),
1621
+ ::anno::author("NVIDIA vMaterials"),
1622
+ ::anno::contributor("Ruediger Raab"),
1623
+ ::anno::contributor("Maik Rohland")
1624
+ ]] = Ceramic_Tiles_Glazed_Penny(
1625
+ tiles_random_seed: 0,
1626
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1627
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1628
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1629
+ tiles_random_brightness: 0.1f,
1630
+ tiles_roughness: 0.32f,
1631
+ tiles_roughness_range: 0.22f,
1632
+ tiles_random_slope_orientation: 0.15f,
1633
+ glazing_orange_peel_bump: 0.03f,
1634
+ glazing_edgefade_weight: 0.00f,
1635
+ glazing_edgefade_randomness: 0.00f,
1636
+ glazing_craquelure_weight: 0.00f,
1637
+ drops_amount: 0.14f,
1638
+ grout_brightness: 0.70f,
1639
+ grout_height: 0.05f,
1640
+ grout_scale: 0.52f,
1641
+ tiles_bump_strength: 1.00f,
1642
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1643
+ dirt_weight: 0.0f,
1644
+ texture_translate: float2(0.0f),
1645
+ texture_rotate: 0.00f,
1646
+ texture_scale: float2(1.00f),
1647
+ tiles_rotate: 0.00f,
1648
+ tiles_random_rotation: 0.00f,
1649
+ tiles_scale: 1.00f,
1650
+ tiles_random_scale: 0.00f,
1651
+ glazing_varying_thickness_weight: 0.00f,
1652
+ glazing_orangepeel_size: 0.05f,
1653
+ glazing_orangepeel_noise_levels: 4,
1654
+ grout_roughness: 0.8f,
1655
+ grout_softness: 0.1f,
1656
+ grout_bump_strength: 1.0f,
1657
+ ao_amount: 1.0f,
1658
+ uv_space_index: 0
1659
+ );
1660
+
1661
+ export material Ceramic_Tiles_Penny_Green(*)
1662
+ [[
1663
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1664
+ ::anno::in_group("Tiles"),
1665
+ ::anno::display_name("Glazed Penny Tiles - Green"),
1666
+ ::anno::copyright_notice(COPYRIGHT),
1667
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green.png"),
1668
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "green", "saturated")),
1669
+ ::anno::author("NVIDIA vMaterials"),
1670
+ ::anno::contributor("Ruediger Raab"),
1671
+ ::anno::contributor("Maik Rohland")
1672
+ ]] = Ceramic_Tiles_Glazed_Penny(
1673
+ tiles_random_seed: 0,
1674
+ tiles_color_1: color(0.099899f, 0.246201f, 0.008568f),
1675
+ tiles_color_2: color(0.155926f, 0.242281f, 0.049707f),
1676
+ tiles_color_3: color(0.012286f, 0.084376f, 0.033105f),
1677
+ tiles_random_brightness: 0.12f,
1678
+ tiles_roughness: 0.039f,
1679
+ tiles_roughness_range: 0.003f,
1680
+ tiles_random_slope_orientation: 0.2f,
1681
+ glazing_orange_peel_bump: 0.11f,
1682
+ glazing_edgefade_weight: 0.07f,
1683
+ glazing_edgefade_randomness: 0.71f,
1684
+ glazing_craquelure_weight: 1.00f,
1685
+ drops_amount: 0.00f,
1686
+ grout_brightness: 0.48f,
1687
+ grout_height: 0.05f,
1688
+ grout_scale: 0.52f,
1689
+ tiles_bump_strength: 1.00f,
1690
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1691
+ dirt_weight: 0.0f,
1692
+ texture_translate: float2(0.0f),
1693
+ texture_rotate: 0.00f,
1694
+ texture_scale: float2(1.00f),
1695
+ tiles_rotate: 0.00f,
1696
+ tiles_random_rotation: 0.00f,
1697
+ tiles_scale: 1.00f,
1698
+ tiles_random_scale: 0.00f,
1699
+ glazing_varying_thickness_weight: 0.00f,
1700
+ glazing_orangepeel_size: 0.05f,
1701
+ glazing_orangepeel_noise_levels: 4,
1702
+ grout_roughness: 0.8f,
1703
+ grout_softness: 0.1f,
1704
+ grout_bump_strength: 1.0f,
1705
+ ao_amount: 0.85f,
1706
+ uv_space_index: 0
1707
+ );
1708
+
1709
+ export material Ceramic_Tiles_Penny_Green_Matte(*)
1710
+ [[
1711
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1712
+ ::anno::in_group("Tiles"),
1713
+ ::anno::display_name("Glazed Penny Tiles - Green Matte"),
1714
+ ::anno::copyright_notice(COPYRIGHT),
1715
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green_Matte.png"),
1716
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "matte", "green", "saturated")),
1717
+ ::anno::author("NVIDIA vMaterials"),
1718
+ ::anno::contributor("Ruediger Raab"),
1719
+ ::anno::contributor("Maik Rohland")
1720
+ ]] = Ceramic_Tiles_Glazed_Penny(
1721
+ tiles_random_seed: 0,
1722
+ tiles_color_1: color(0.099899f, 0.246201f, 0.008568f),
1723
+ tiles_color_2: color(0.155926f, 0.242281f, 0.049707f),
1724
+ tiles_color_3: color(0.012286f, 0.084376f, 0.033105f),
1725
+ tiles_random_brightness: 0.12f,
1726
+ tiles_roughness: 0.37f,
1727
+ tiles_roughness_range: 0.36f,
1728
+ tiles_random_slope_orientation: 0.2f,
1729
+ glazing_orange_peel_bump: 0.11f,
1730
+ glazing_edgefade_weight: 0.07f,
1731
+ glazing_edgefade_randomness: 0.71f,
1732
+ glazing_craquelure_weight: 1.00f,
1733
+ drops_amount: 0.00f,
1734
+ grout_brightness: 0.48f,
1735
+ grout_height: 0.05f,
1736
+ grout_scale: 0.52f,
1737
+ tiles_bump_strength: 1.00f,
1738
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1739
+ dirt_weight: 0.0f,
1740
+ texture_translate: float2(0.0f),
1741
+ texture_rotate: 0.00f,
1742
+ texture_scale: float2(1.00f),
1743
+ tiles_rotate: 0.00f,
1744
+ tiles_random_rotation: 0.00f,
1745
+ tiles_scale: 1.00f,
1746
+ tiles_random_scale: 0.00f,
1747
+ glazing_varying_thickness_weight: 0.00f,
1748
+ glazing_orangepeel_size: 0.05f,
1749
+ glazing_orangepeel_noise_levels: 4,
1750
+ grout_roughness: 0.8f,
1751
+ grout_softness: 0.1f,
1752
+ grout_bump_strength: 1.0f,
1753
+ ao_amount: 0.85f,
1754
+ uv_space_index: 0
1755
+ );
1756
+
1757
+
1758
+ export material Ceramic_Tiles_Penny_Green_Varied(*)
1759
+ [[
1760
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1761
+ ::anno::in_group("Tiles"),
1762
+ ::anno::display_name("Glazed Penny Tiles - Dark Green Varied"),
1763
+ ::anno::copyright_notice(COPYRIGHT),
1764
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Green_Varied.png"),
1765
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "matte", "green", "dark", "saturated", "random")),
1766
+ ::anno::author("NVIDIA vMaterials"),
1767
+ ::anno::contributor("Ruediger Raab"),
1768
+ ::anno::contributor("Maik Rohland")
1769
+ ]] = Ceramic_Tiles_Glazed_Penny(
1770
+ tiles_random_seed: 0,
1771
+ tiles_color_1: color(0.099899f, 0.246201f, 0.008568f),
1772
+ tiles_color_2: color(0.155926f, 0.242281f, 0.049707f),
1773
+ tiles_color_3: color(0.012286f, 0.084376f, 0.033105f),
1774
+ tiles_random_brightness: 0.79f,
1775
+ tiles_roughness: 0.039f,
1776
+ tiles_roughness_range: 0.003f,
1777
+ tiles_random_slope_orientation: 0.2f,
1778
+ glazing_orange_peel_bump: 0.11f,
1779
+ glazing_edgefade_weight: 0.07f,
1780
+ glazing_edgefade_randomness: 0.71f,
1781
+ glazing_craquelure_weight: 1.00f,
1782
+ drops_amount: 0.00f,
1783
+ grout_brightness: 0.48f,
1784
+ grout_height: 0.05f,
1785
+ grout_scale: 0.52f,
1786
+ tiles_bump_strength: 1.00f,
1787
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1788
+ dirt_weight: 0.0f,
1789
+ texture_translate: float2(0.0f),
1790
+ texture_rotate: 0.00f,
1791
+ texture_scale: float2(1.00f),
1792
+ tiles_rotate: 0.00f,
1793
+ tiles_random_rotation: 0.00f,
1794
+ tiles_scale: 1.00f,
1795
+ tiles_random_scale: 0.00f,
1796
+ glazing_varying_thickness_weight: 0.00f,
1797
+ glazing_orangepeel_size: 0.05f,
1798
+ glazing_orangepeel_noise_levels: 4,
1799
+ grout_roughness: 0.8f,
1800
+ grout_softness: 0.1f,
1801
+ grout_bump_strength: 1.0f,
1802
+ ao_amount: 0.85f,
1803
+ uv_space_index: 0
1804
+ );
1805
+
1806
+
1807
+ export material Ceramic_Tiles_Penny_Vintage_Green_Bathroom(*)
1808
+ [[
1809
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1810
+ ::anno::in_group("Tiles"),
1811
+ ::anno::display_name("Glazed Penny Tiles - Vintage Green"),
1812
+ ::anno::copyright_notice(COPYRIGHT),
1813
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Vintage_Green_Bathroom.png"),
1814
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "antique", "old", "matte", "green", "multicolor", "random")),
1815
+ ::anno::author("NVIDIA vMaterials"),
1816
+ ::anno::contributor("Ruediger Raab"),
1817
+ ::anno::contributor("Maik Rohland")
1818
+ ]] = Ceramic_Tiles_Glazed_Penny(
1819
+ tiles_random_seed: 9,
1820
+ tiles_color_1: color(0.012286f, 0.361307f, 0.130136f),
1821
+ tiles_color_2: color(0.381326f, 0.122139f, 0.046665f),
1822
+ tiles_color_3: color(0.003347f, 0.034340f, 0.003035f),
1823
+ tiles_random_brightness: 0.63f,
1824
+ tiles_roughness: 0.1f,
1825
+ tiles_roughness_range: 0.21f,
1826
+ tiles_random_slope_orientation: 0.3f,
1827
+ glazing_orange_peel_bump: 0.09f,
1828
+ glazing_edgefade_weight: 0.29f,
1829
+ glazing_edgefade_randomness: 0.00f,
1830
+ glazing_craquelure_weight: 0.00f,
1831
+ drops_amount: 0.6f,
1832
+ grout_brightness: 0.70f,
1833
+ grout_height: 0.05f,
1834
+ tiles_bump_strength: 1.00f,
1835
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1836
+ dirt_weight: 0.0f,
1837
+ texture_translate: float2(0.0f),
1838
+ texture_rotate: 0.00f,
1839
+ texture_scale: float2(1.00f),
1840
+ tiles_rotate: 0.00f,
1841
+ tiles_random_rotation: 0.00f,
1842
+ tiles_scale: 1.00f,
1843
+ tiles_random_scale: 0.00f,
1844
+ glazing_varying_thickness_weight: 0.00f,
1845
+ glazing_orangepeel_size: 0.05f,
1846
+ glazing_orangepeel_noise_levels: 4,
1847
+ grout_roughness: 0.8f,
1848
+ grout_softness: 0.1f,
1849
+ grout_bump_strength: 1.0f,
1850
+ ao_amount: 0.5f,
1851
+ uv_space_index: 0
1852
+ );
1853
+
1854
+
1855
+ export material Ceramic_Tiles_Penny_Mint(*)
1856
+ [[
1857
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1858
+ ::anno::in_group("Tiles"),
1859
+ ::anno::display_name("Glazed Penny Tiles - Mint Green"),
1860
+ ::anno::copyright_notice(COPYRIGHT),
1861
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Mint.png"),
1862
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "mint", "green", "light")),
1863
+ ::anno::author("NVIDIA vMaterials"),
1864
+ ::anno::contributor("Ruediger Raab"),
1865
+ ::anno::contributor("Maik Rohland")
1866
+ ]] = Ceramic_Tiles_Glazed_Penny(
1867
+ tiles_random_seed: 0,
1868
+ tiles_color_1: color(0.208637f, 0.309469f, 0.130136f),
1869
+ tiles_color_2: color(0.205079f, 0.304987f, 0.130136f),
1870
+ tiles_color_3: color(0.201556f, 0.300544f, 0.124772f),
1871
+ tiles_random_brightness: 0.04f,
1872
+ tiles_roughness: 0.039f,
1873
+ tiles_roughness_range: 0.008f,
1874
+ tiles_random_slope_orientation: 0.2f,
1875
+ glazing_orange_peel_bump: 0.05f,
1876
+ glazing_edgefade_weight: 0.00f,
1877
+ glazing_edgefade_randomness: 0.00f,
1878
+ glazing_craquelure_weight: 0.00f,
1879
+ drops_amount: 0.00f,
1880
+ grout_brightness: 0.70f,
1881
+ grout_height: 0.05f,
1882
+ grout_scale: 0.52f,
1883
+ tiles_bump_strength: 1.00f,
1884
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1885
+ dirt_weight: 0.0f,
1886
+ texture_translate: float2(0.0f),
1887
+ texture_rotate: 0.00f,
1888
+ texture_scale: float2(1.00f),
1889
+ tiles_rotate: 0.00f,
1890
+ tiles_random_rotation: 360.00f,
1891
+ tiles_scale: 1.00f,
1892
+ tiles_random_scale: 0.00f,
1893
+ glazing_varying_thickness_weight: 0.00f,
1894
+ glazing_orangepeel_size: 0.05f,
1895
+ glazing_orangepeel_noise_levels: 4,
1896
+ grout_roughness: 0.8f,
1897
+ grout_softness: 0.1f,
1898
+ grout_bump_strength: 1.0f,
1899
+ ao_amount: 0.85f,
1900
+ uv_space_index: 0
1901
+ );
1902
+
1903
+
1904
+ export material Ceramic_Tiles_Penny_Mint_Varied(*)
1905
+ [[
1906
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1907
+ ::anno::in_group("Tiles"),
1908
+ ::anno::display_name("Glazed Penny Tiles - Mint Green Varied"),
1909
+ ::anno::copyright_notice(COPYRIGHT),
1910
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Mint_Varied.png"),
1911
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "mint", "green", "random")),
1912
+ ::anno::author("NVIDIA vMaterials"),
1913
+ ::anno::contributor("Ruediger Raab"),
1914
+ ::anno::contributor("Maik Rohland")
1915
+ ]] = Ceramic_Tiles_Glazed_Penny(
1916
+ tiles_random_seed: 0,
1917
+ tiles_color_1: color(0.208637f, 0.309469f, 0.130136f),
1918
+ tiles_color_2: color(0.205079f, 0.304987f, 0.130136f),
1919
+ tiles_color_3: color(0.201556f, 0.300544f, 0.124772f),
1920
+ tiles_random_brightness: 0.48f,
1921
+ tiles_roughness: 0.039f,
1922
+ tiles_roughness_range: 0.008f,
1923
+ tiles_random_slope_orientation: 0.2f,
1924
+ glazing_orange_peel_bump: 0.05f,
1925
+ glazing_edgefade_weight: 0.00f,
1926
+ glazing_edgefade_randomness: 0.00f,
1927
+ glazing_craquelure_weight: 0.00f,
1928
+ drops_amount: 0.00f,
1929
+ grout_brightness: 0.70f,
1930
+ grout_height: 0.05f,
1931
+ grout_scale: 0.52f,
1932
+ tiles_bump_strength: 1.00f,
1933
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1934
+ dirt_weight: 0.0f,
1935
+ texture_translate: float2(0.0f),
1936
+ texture_rotate: 0.00f,
1937
+ texture_scale: float2(1.00f),
1938
+ tiles_rotate: 0.00f,
1939
+ tiles_random_rotation: 360.00f,
1940
+ tiles_scale: 1.00f,
1941
+ tiles_random_scale: 0.00f,
1942
+ glazing_varying_thickness_weight: 0.00f,
1943
+ glazing_orangepeel_size: 0.05f,
1944
+ glazing_orangepeel_noise_levels: 4,
1945
+ grout_roughness: 0.8f,
1946
+ grout_softness: 0.1f,
1947
+ grout_bump_strength: 1.0f,
1948
+ ao_amount: 0.85f,
1949
+ uv_space_index: 0
1950
+ );
1951
+
1952
+
1953
+ export material Ceramic_Tiles_Penny_Lime_Green(*)
1954
+ [[
1955
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1956
+ ::anno::in_group("Tiles"),
1957
+ ::anno::display_name("Glazed Penny Tiles - Lime Green"),
1958
+ ::anno::copyright_notice(COPYRIGHT),
1959
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Lime_Green.png"),
1960
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "lime", "green", "light")),
1961
+ ::anno::author("NVIDIA vMaterials"),
1962
+ ::anno::contributor("Ruediger Raab"),
1963
+ ::anno::contributor("Maik Rohland")
1964
+ ]] = Ceramic_Tiles_Glazed_Penny(
1965
+ tiles_random_seed: 0,
1966
+ tiles_color_1: color(0.313989f, 0.361307f, 0.027321f),
1967
+ tiles_color_2: color(0.309469f, 0.356400f, 0.027321f),
1968
+ tiles_color_3: color(0.304987f, 0.351533f, 0.027321f),
1969
+ tiles_random_brightness: 0.03f,
1970
+ tiles_roughness: 0.039f,
1971
+ tiles_roughness_range: 0.008f,
1972
+ tiles_random_slope_orientation: 0.2f,
1973
+ glazing_orange_peel_bump: 0.04f,
1974
+ glazing_edgefade_weight: 0.12f,
1975
+ glazing_edgefade_randomness: 0.37f,
1976
+ glazing_craquelure_weight: 0.32f,
1977
+ drops_amount: 0.22f,
1978
+ grout_brightness: 0.70f,
1979
+ grout_height: 0.05f,
1980
+ grout_scale: 0.52f,
1981
+ tiles_bump_strength: 1.00f,
1982
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1983
+ dirt_weight: 0.0f,
1984
+ texture_translate: float2(0.0f),
1985
+ texture_rotate: 0.00f,
1986
+ texture_scale: float2(1.00f),
1987
+ tiles_rotate: 0.00f,
1988
+ tiles_random_rotation: 360.00f,
1989
+ tiles_scale: 1.00f,
1990
+ tiles_random_scale: 0.00f,
1991
+ glazing_varying_thickness_weight: 0.00f,
1992
+ glazing_orangepeel_size: 0.05f,
1993
+ glazing_orangepeel_noise_levels: 4,
1994
+ grout_roughness: 0.8f,
1995
+ grout_softness: 0.1f,
1996
+ grout_bump_strength: 1.0f,
1997
+ ao_amount: 0.85f,
1998
+ uv_space_index: 0
1999
+ );
2000
+
2001
+
2002
+ export material Ceramic_Tiles_Penny_Lime_Green_Varied(*)
2003
+ [[
2004
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2005
+ ::anno::in_group("Tiles"),
2006
+ ::anno::display_name("Glazed Penny Tiles - Lime Green Varied"),
2007
+ ::anno::copyright_notice(COPYRIGHT),
2008
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Lime_Green_Varied.png"),
2009
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "lime", "green", "light", "random")),
2010
+ ::anno::author("NVIDIA vMaterials"),
2011
+ ::anno::contributor("Ruediger Raab"),
2012
+ ::anno::contributor("Maik Rohland")
2013
+ ]] = Ceramic_Tiles_Glazed_Penny(
2014
+ tiles_random_seed: 0,
2015
+ tiles_color_1: color(0.309469f, 0.361307f, 0.015996f),
2016
+ tiles_color_2: color(0.304987f, 0.356400f, 0.016807f),
2017
+ tiles_color_3: color(0.300544f, 0.351533f, 0.017642f),
2018
+ tiles_random_brightness: 0.56f,
2019
+ tiles_roughness: 0.039f,
2020
+ tiles_roughness_range: 0.008f,
2021
+ tiles_random_slope_orientation: 0.2f,
2022
+ glazing_orange_peel_bump: 0.04f,
2023
+ glazing_edgefade_weight: 0.12f,
2024
+ glazing_edgefade_randomness: 0.37f,
2025
+ glazing_craquelure_weight: 0.32f,
2026
+ drops_amount: 0.22f,
2027
+ grout_brightness: 0.70f,
2028
+ grout_height: 0.05f,
2029
+ grout_scale: 0.52f,
2030
+ tiles_bump_strength: 1.00f,
2031
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2032
+ dirt_weight: 0.0f,
2033
+ texture_translate: float2(0.0f),
2034
+ texture_rotate: 0.00f,
2035
+ texture_scale: float2(1.00f),
2036
+ tiles_rotate: 0.00f,
2037
+ tiles_random_rotation: 360.00f,
2038
+ tiles_scale: 1.00f,
2039
+ tiles_random_scale: 0.00f,
2040
+ glazing_varying_thickness_weight: 0.00f,
2041
+ glazing_orangepeel_size: 0.05f,
2042
+ glazing_orangepeel_noise_levels: 4,
2043
+ grout_roughness: 0.8f,
2044
+ grout_softness: 0.1f,
2045
+ grout_bump_strength: 1.0f,
2046
+ ao_amount: 0.85f,
2047
+ uv_space_index: 0
2048
+ );
2049
+
2050
+
2051
+ export material Ceramic_Tiles_Penny_Yellow(*)
2052
+ [[
2053
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2054
+ ::anno::in_group("Tiles"),
2055
+ ::anno::display_name("Glazed Penny Tiles - Yellow"),
2056
+ ::anno::copyright_notice(COPYRIGHT),
2057
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Yellow.png"),
2058
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "yellow", "warm", "saturated", "light")),
2059
+ ::anno::author("NVIDIA vMaterials"),
2060
+ ::anno::contributor("Ruediger Raab"),
2061
+ ::anno::contributor("Maik Rohland")
2062
+ ]] = Ceramic_Tiles_Glazed_Penny(
2063
+ tiles_random_seed: 0,
2064
+ tiles_color_1: color(0.590619f, 0.371238f, 0.033105f),
2065
+ tiles_color_2: color(0.584078f, 0.366253f, 0.033105f),
2066
+ tiles_color_3: color(0.577580f, 0.361307f, 0.033105f),
2067
+ tiles_random_brightness: 0.02f,
2068
+ tiles_roughness: 0.039f,
2069
+ tiles_roughness_range: 0.008f,
2070
+ tiles_random_slope_orientation: 0.2f,
2071
+ glazing_orange_peel_bump: 0.03f,
2072
+ glazing_edgefade_weight: 0.11f,
2073
+ glazing_edgefade_randomness: 0.48f,
2074
+ glazing_craquelure_weight: 0.42f,
2075
+ drops_amount: 0.20f,
2076
+ grout_brightness: 0.70f,
2077
+ grout_height: 0.05f,
2078
+ grout_scale: 0.52f,
2079
+ tiles_bump_strength: 1.00f,
2080
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2081
+ dirt_weight: 0.0f,
2082
+ texture_translate: float2(0.0f),
2083
+ texture_rotate: 0.00f,
2084
+ texture_scale: float2(1.00f),
2085
+ tiles_rotate: 0.00f,
2086
+ tiles_random_rotation: 360.00f,
2087
+ tiles_scale: 1.00f,
2088
+ tiles_random_scale: 0.00f,
2089
+ glazing_varying_thickness_weight: 0.00f,
2090
+ glazing_orangepeel_size: 0.05f,
2091
+ glazing_orangepeel_noise_levels: 4,
2092
+ grout_roughness: 0.8f,
2093
+ grout_softness: 0.1f,
2094
+ grout_bump_strength: 1.0f,
2095
+ ao_amount: 0.85f,
2096
+ uv_space_index: 0
2097
+ );
2098
+
2099
+
2100
+ export material Ceramic_Tiles_Penny_Yellow_Varied(*)
2101
+ [[
2102
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2103
+ ::anno::in_group("Tiles"),
2104
+ ::anno::display_name("Glazed Penny Tiles - Yellow Varied"),
2105
+ ::anno::copyright_notice(COPYRIGHT),
2106
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Yellow_Varied.png"),
2107
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "yellow", "warm", "saturated", "light", "random")),
2108
+ ::anno::author("NVIDIA vMaterials"),
2109
+ ::anno::contributor("Ruediger Raab"),
2110
+ ::anno::contributor("Maik Rohland")
2111
+ ]] = Ceramic_Tiles_Glazed_Penny(
2112
+ tiles_random_seed: 0,
2113
+ tiles_color_1: color(0.590619f, 0.361307f, 0.023153f),
2114
+ tiles_color_2: color(0.584078f, 0.356400f, 0.023153f),
2115
+ tiles_color_3: color(0.577580f, 0.351533f, 0.024158f),
2116
+ tiles_random_brightness: 0.49f,
2117
+ tiles_roughness: 0.039f,
2118
+ tiles_roughness_range: 0.008f,
2119
+ tiles_random_slope_orientation: 0.2f,
2120
+ glazing_orange_peel_bump: 0.03f,
2121
+ glazing_edgefade_weight: 0.11f,
2122
+ glazing_edgefade_randomness: 0.48f,
2123
+ glazing_craquelure_weight: 0.42f,
2124
+ drops_amount: 0.20f,
2125
+ grout_brightness: 0.70f,
2126
+ grout_height: 0.05f,
2127
+ grout_scale: 0.52f,
2128
+ tiles_bump_strength: 1.00f,
2129
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2130
+ dirt_weight: 0.0f,
2131
+ texture_translate: float2(0.0f),
2132
+ texture_rotate: 0.00f,
2133
+ texture_scale: float2(1.00f),
2134
+ tiles_rotate: 0.00f,
2135
+ tiles_random_rotation: 360.00f,
2136
+ tiles_scale: 1.00f,
2137
+ tiles_random_scale: 0.00f,
2138
+ glazing_varying_thickness_weight: 0.00f,
2139
+ glazing_orangepeel_size: 0.05f,
2140
+ glazing_orangepeel_noise_levels: 4,
2141
+ grout_roughness: 0.8f,
2142
+ grout_softness: 0.1f,
2143
+ grout_bump_strength: 1.0f,
2144
+ ao_amount: 0.85f,
2145
+ uv_space_index: 0
2146
+ );
2147
+
2148
+
2149
+
2150
+
2151
+ export material Ceramic_Tiles_Penny_Petrol(*)
2152
+ [[
2153
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2154
+ ::anno::in_group("Tiles"),
2155
+ ::anno::display_name("Glazed Penny Tiles - Petrol"),
2156
+ ::anno::copyright_notice(COPYRIGHT),
2157
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Petrol.png"),
2158
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "petrol", "cool")),
2159
+ ::anno::author("NVIDIA vMaterials"),
2160
+ ::anno::contributor("Ruediger Raab"),
2161
+ ::anno::contributor("Maik Rohland")
2162
+ ]] = Ceramic_Tiles_Glazed_Penny(
2163
+ tiles_random_seed: 13,
2164
+ tiles_color_1: color(0.029557f, 0.107023f, 0.135633f),
2165
+ tiles_color_2: color(0.029557f, 0.104616f, 0.132868f),
2166
+ tiles_color_3: color(0.028426f, 0.102242f, 0.130136f),
2167
+ tiles_random_brightness: 0.03f,
2168
+ tiles_roughness: 0.039f,
2169
+ tiles_roughness_range: 0.008f,
2170
+ tiles_random_slope_orientation: 0.2f,
2171
+ glazing_orange_peel_bump: 0.04f,
2172
+ glazing_edgefade_weight: 0.1f,
2173
+ glazing_edgefade_randomness: 0.46f,
2174
+ glazing_craquelure_weight: 0.00f,
2175
+ drops_amount: 0.00f,
2176
+ grout_brightness: 0.70f,
2177
+ grout_height: 0.05f,
2178
+ grout_scale: 0.52f,
2179
+ tiles_bump_strength: 1.00f,
2180
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2181
+ dirt_weight: 0.0f,
2182
+ texture_translate: float2(0.0f),
2183
+ texture_rotate: 0.00f,
2184
+ texture_scale: float2(1.00f),
2185
+ tiles_rotate: 0.00f,
2186
+ tiles_random_rotation: 360.00f,
2187
+ tiles_scale: 1.00f,
2188
+ tiles_random_scale: 0.25f,
2189
+ glazing_varying_thickness_weight: 0.00f,
2190
+ glazing_orangepeel_size: 0.05f,
2191
+ glazing_orangepeel_noise_levels: 4,
2192
+ grout_roughness: 0.8f,
2193
+ grout_softness: 0.1f,
2194
+ grout_bump_strength: 1.0f,
2195
+ ao_amount: 0.85f,
2196
+ uv_space_index: 0
2197
+ );
2198
+
2199
+
2200
+
2201
+ export material Ceramic_Tiles_Penny_Petrol_Varied(*)
2202
+ [[
2203
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2204
+ ::anno::in_group("Tiles"),
2205
+ ::anno::display_name("Glazed Penny Tiles - Petrol Varied"),
2206
+ ::anno::copyright_notice(COPYRIGHT),
2207
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Petrol_Varied.png"),
2208
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "petrol", "cool", "random")),
2209
+ ::anno::author("NVIDIA vMaterials"),
2210
+ ::anno::contributor("Ruediger Raab"),
2211
+ ::anno::contributor("Maik Rohland")
2212
+ ]] = Ceramic_Tiles_Glazed_Penny(
2213
+ tiles_random_seed: 14,
2214
+ tiles_color_1: color(0.029557f, 0.107023f, 0.135633f),
2215
+ tiles_color_2: color(0.029557f, 0.104616f, 0.132868f),
2216
+ tiles_color_3: color(0.028426f, 0.102242f, 0.130136f),
2217
+ tiles_random_brightness: 0.6f,
2218
+ tiles_roughness: 0.039f,
2219
+ tiles_roughness_range: 0.008f,
2220
+ tiles_random_slope_orientation: 0.2f,
2221
+ glazing_orange_peel_bump: 0.04f,
2222
+ glazing_edgefade_weight: 0.1f,
2223
+ glazing_edgefade_randomness: 0.46f,
2224
+ glazing_craquelure_weight: 0.00f,
2225
+ drops_amount: 0.00f,
2226
+ grout_brightness: 0.70f,
2227
+ grout_height: 0.05f,
2228
+ grout_scale: 0.52f,
2229
+ tiles_bump_strength: 1.00f,
2230
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2231
+ dirt_weight: 0.0f,
2232
+ texture_translate: float2(0.0f),
2233
+ texture_rotate: 0.00f,
2234
+ texture_scale: float2(1.00f),
2235
+ tiles_rotate: 0.00f,
2236
+ tiles_random_rotation: 360.00f,
2237
+ tiles_scale: 1.00f,
2238
+ tiles_random_scale: 0.25f,
2239
+ glazing_varying_thickness_weight: 0.00f,
2240
+ glazing_orangepeel_size: 0.05f,
2241
+ glazing_orangepeel_noise_levels: 4,
2242
+ grout_roughness: 0.8f,
2243
+ grout_softness: 0.1f,
2244
+ grout_bump_strength: 1.0f,
2245
+ ao_amount: 0.85f,
2246
+ uv_space_index: 0
2247
+ );
2248
+
2249
+ export material Ceramic_Tiles_Penny_Sky(*)
2250
+ [[
2251
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2252
+ ::anno::in_group("Tiles"),
2253
+ ::anno::display_name("Glazed Penny Tiles - Sky"),
2254
+ ::anno::copyright_notice(COPYRIGHT),
2255
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Sky.png"),
2256
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "blue", "sky", "cool")),
2257
+ ::anno::author("NVIDIA vMaterials"),
2258
+ ::anno::contributor("Ruediger Raab"),
2259
+ ::anno::contributor("Maik Rohland")
2260
+ ]] = Ceramic_Tiles_Glazed_Penny(
2261
+ tiles_random_seed: 0,
2262
+ tiles_color_1: color(0.130136f, 0.644480f, 0.693872f),
2263
+ tiles_color_2: color(0.135633f, 0.491021f, 0.644480f),
2264
+ tiles_color_3: color(0.023153f, 0.135633f, 0.212231f),
2265
+ tiles_random_brightness: 0.03f,
2266
+ tiles_roughness: 0.05f,
2267
+ tiles_roughness_range: 0.02f,
2268
+ tiles_random_slope_orientation: 0.23f,
2269
+ glazing_orange_peel_bump: 0.15f,
2270
+ glazing_edgefade_weight: 0.19f,
2271
+ glazing_edgefade_randomness: 0.34f,
2272
+ glazing_craquelure_weight: 0.42f,
2273
+ drops_amount: 0.40f,
2274
+ grout_brightness: 0.71f,
2275
+ grout_height: 0.05f,
2276
+ grout_scale: 0.52f,
2277
+ tiles_bump_strength: 1.00f,
2278
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2279
+ dirt_weight: 0.0f,
2280
+ texture_translate: float2(0.0f),
2281
+ texture_rotate: 0.00f,
2282
+ texture_scale: float2(1.00f),
2283
+ tiles_rotate: 0.00f,
2284
+ tiles_random_rotation: 360.00f,
2285
+ tiles_scale: 1.00f,
2286
+ tiles_random_scale: 0.25f,
2287
+ glazing_varying_thickness_weight: 0.00f,
2288
+ glazing_orangepeel_size: 0.05f,
2289
+ glazing_orangepeel_noise_levels: 4,
2290
+ grout_roughness: 0.8f,
2291
+ grout_softness: 0.1f,
2292
+ grout_bump_strength: 1.0f,
2293
+ ao_amount: 1.00f,
2294
+ uv_space_index: 0
2295
+ );
2296
+
2297
+
2298
+ export material Ceramic_Tiles_Penny_Red(*)
2299
+ [[
2300
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2301
+ ::anno::in_group("Tiles"),
2302
+ ::anno::display_name("Glazed Penny Tiles - Red"),
2303
+ ::anno::copyright_notice(COPYRIGHT),
2304
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Red.png"),
2305
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "red", "warm", "saturated")),
2306
+ ::anno::author("NVIDIA vMaterials"),
2307
+ ::anno::contributor("Ruediger Raab"),
2308
+ ::anno::contributor("Maik Rohland")
2309
+ ]] = Ceramic_Tiles_Glazed_Penny(
2310
+ tiles_random_seed: 0,
2311
+ tiles_color_1: color(0.327778f, 0.021219f, 0.020289f),
2312
+ tiles_color_2: color(0.327778f, 0.021219f, 0.017642f),
2313
+ tiles_color_3: color(0.274677f, 0.018500f, 0.017642f),
2314
+ tiles_random_brightness: 0.015f,
2315
+ tiles_roughness: 0.039f,
2316
+ tiles_roughness_range: 0.003f,
2317
+ tiles_random_slope_orientation: 0.2f,
2318
+ glazing_orange_peel_bump: 0.03f,
2319
+ glazing_edgefade_weight: 0.00f,
2320
+ glazing_edgefade_randomness: 0.00f,
2321
+ glazing_craquelure_weight: 0.00f,
2322
+ drops_amount: 0.19f,
2323
+ grout_brightness: 0.09f,
2324
+ grout_height: 0.05f,
2325
+ grout_scale: 0.52f,
2326
+ tiles_bump_strength: 1.00f,
2327
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2328
+ dirt_weight: 0.0f,
2329
+ texture_translate: float2(0.0f),
2330
+ texture_rotate: 0.00f,
2331
+ texture_scale: float2(1.00f),
2332
+ tiles_rotate: 0.00f,
2333
+ tiles_random_rotation: 360.00f,
2334
+ tiles_scale: 1.00f,
2335
+ tiles_random_scale: 0.25f,
2336
+ glazing_varying_thickness_weight: 0.00f,
2337
+ glazing_orangepeel_size: 0.05f,
2338
+ glazing_orangepeel_noise_levels: 4,
2339
+ grout_roughness: 0.8f,
2340
+ grout_softness: 0.1f,
2341
+ grout_bump_strength: 1.0f,
2342
+ ao_amount: 0.85f,
2343
+ uv_space_index: 0
2344
+ );
2345
+
2346
+
2347
+ export material Ceramic_Tiles_Penny_Red_Varied(*)
2348
+ [[
2349
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2350
+ ::anno::in_group("Tiles"),
2351
+ ::anno::display_name("Glazed Penny Tiles - Red Varied"),
2352
+ ::anno::copyright_notice(COPYRIGHT),
2353
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Penny.Ceramic_Tiles_Penny_Red_Varied.png"),
2354
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "exterior", "architecture", "penny", "round", "new", "shiny", "red", "warm", "saturated", "random")),
2355
+ ::anno::author("NVIDIA vMaterials"),
2356
+ ::anno::contributor("Ruediger Raab"),
2357
+ ::anno::contributor("Maik Rohland")
2358
+ ]] = Ceramic_Tiles_Glazed_Penny(
2359
+ tiles_random_seed: 0,
2360
+ tiles_color_1: color(0.327778f, 0.021219f, 0.020289f),
2361
+ tiles_color_2: color(0.327778f, 0.021219f, 0.017642f),
2362
+ tiles_color_3: color(0.274677f, 0.018500f, 0.017642f),
2363
+ tiles_random_brightness: 0.6f,
2364
+ tiles_roughness: 0.039f,
2365
+ tiles_roughness_range: 0.003f,
2366
+ tiles_random_slope_orientation: 0.2f,
2367
+ glazing_orange_peel_bump: 0.03f,
2368
+ glazing_edgefade_weight: 0.00f,
2369
+ glazing_edgefade_randomness: 0.00f,
2370
+ glazing_craquelure_weight: 0.00f,
2371
+ drops_amount: 0.19f,
2372
+ grout_brightness: 0.09f,
2373
+ grout_height: 0.05f,
2374
+ grout_scale: 0.52f,
2375
+ tiles_bump_strength: 1.00f,
2376
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2377
+ dirt_weight: 0.0f,
2378
+ texture_translate: float2(0.0f),
2379
+ texture_rotate: 0.00f,
2380
+ texture_scale: float2(1.00f),
2381
+ tiles_rotate: 0.00f,
2382
+ tiles_random_rotation: 360.00f,
2383
+ tiles_scale: 1.00f,
2384
+ tiles_random_scale: 0.25f,
2385
+ glazing_varying_thickness_weight: 0.00f,
2386
+ glazing_orangepeel_size: 0.05f,
2387
+ glazing_orangepeel_noise_levels: 4,
2388
+ grout_roughness: 0.8f,
2389
+ grout_softness: 0.1f,
2390
+ grout_bump_strength: 1.0f,
2391
+ ao_amount: 0.85f,
2392
+ uv_space_index: 0
2393
+ );
2394
+
2395
+
2396
+
2397
+
2398
+
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Pinwheel.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Square.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Square_Brick.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Subway.mdl ADDED
@@ -0,0 +1,2485 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******************************************************************************
2
+ * Copyright 2024 NVIDIA Corporation. All rights reserved. *
3
+ ******************************************************************************
4
+
5
+ Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
6
+ to any person obtaining a copy of the sample definition code that uses our
7
+ Material Definition Language (the "MDL Materials"), to reproduce and distribute
8
+ the MDL Materials, including without limitation the rights to use, copy, merge,
9
+ publish, distribute, and sell modified and unmodified copies of the MDL
10
+ Materials, and to permit persons to whom the MDL Materials is furnished to do
11
+ so, in all cases solely for use with NVIDIA’s Material Definition Language,
12
+ subject to the following further conditions:
13
+
14
+ 1. The above copyright notices, this list of conditions, and the disclaimer
15
+ that follows shall be retained in all copies of one or more of the MDL
16
+ Materials, including in any software with which the MDL Materials are bundled,
17
+ redistributed, and/or sold, and included either as stand-alone text files,
18
+ human-readable headers or in the appropriate machine-readable metadata fields
19
+ within text or binary files as long as those fields can be easily viewed by the
20
+ user, as applicable.
21
+ 2. The name of NVIDIA shall not be used to promote, endorse or advertise any
22
+ Modified Version without specific prior written permission, except a) to comply
23
+ with the notice requirements otherwise contained herein; or b) to acknowledge
24
+ the contribution(s) of NVIDIA.
25
+
26
+ THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
29
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
30
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
31
+ INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
32
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
33
+ THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
34
+ */
35
+
36
+
37
+ mdl 1.6;
38
+ import ::base::*;
39
+ import ::state::*;
40
+ import ::math::*;
41
+ import ::anno::*;
42
+ import ::tex::*;
43
+ import ::df::*;
44
+ import ::nvidia::core_definitions::*;
45
+
46
+ const string COPYRIGHT =
47
+ " Copyright 2024 NVIDIA Corporation. All rights reserved.\n"
48
+ " MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
49
+ " WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
50
+ " THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
51
+ " EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
52
+ " MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
53
+ " COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
54
+ " CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
55
+ " GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
56
+ " AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
57
+ " INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
58
+
59
+ float histogram_range(float input, float range = 1.0f, float position = 0.5f)
60
+ {
61
+ float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0);
62
+ float high = ::math::clamp(math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0);
63
+ return ::math::lerp(low, high, input);
64
+ }
65
+
66
+ // Returns the normal n in tangent space, given n is in internal space.
67
+ float3 transform_internal_to_tangent(float3 n)
68
+ [[
69
+ anno::hidden()
70
+ ]]
71
+ {
72
+ return
73
+ n.x* float3(state::texture_tangent_u(0).x,state::texture_tangent_v(0).x,state::normal().x)+
74
+ n.y* float3(state::texture_tangent_u(0).y,state::texture_tangent_v(0).y,state::normal().y)+
75
+ n.z* float3(state::texture_tangent_u(0).z,state::texture_tangent_v(0).z,state::normal().z);
76
+ }
77
+
78
+ // Returns the normal n in internal space, given n is in tangent space.
79
+ float3 transform_tangent_to_internal(float3 n)
80
+ [[
81
+ anno::hidden()
82
+ ]]
83
+ {
84
+ return state::texture_tangent_u(0) * n.x +
85
+ state::texture_tangent_v(0) * n.y +
86
+ state::normal() * n.z ;
87
+ }
88
+
89
+ // https://nullprogram.com/blog/2018/07/31/
90
+ //bias: 0.17353355999581582 ( very probably the best of its kind )
91
+ // NOTE: To turn this back to a float, one must divide the value by 4294967296.f
92
+ // which corresponds to 0xffffffff, however MDL seems to turn this into -1.
93
+ int lowbias32(int x)
94
+ {
95
+ x ^= x >>> 16;
96
+ x *= 0x7feb352d;
97
+ x ^= x >>> 15;
98
+ x *= 0x846ca68b;
99
+ x ^= x >>> 16;
100
+ return x;
101
+ }
102
+
103
+ float uint2float(int x)
104
+ {
105
+ return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0);
106
+ }
107
+
108
+ float2 rnd22(int2 p, int seed = 0) {
109
+ float2 ret_val = float2(
110
+ uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f,
111
+ uint2float(lowbias32(p[0] + seed + lowbias32(p[1]))) / 4294967296.f
112
+ );
113
+ return ret_val;
114
+ }
115
+
116
+ float2x2 invert_2x2(float2x2 M)
117
+ {
118
+ float det = M[0][0]*M[1][1] - M[0][1]*M[1][0];
119
+ //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/
120
+ return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]);
121
+ }
122
+
123
+
124
+ float3 rgb2srgb(float3 val) [[ anno::unused() ]] {
125
+ return ::math::pow( ::math::max(val, float3(0.f)), float3(1./2.2) );
126
+ }
127
+
128
+ float3 nonrepeat_lookup(
129
+ uniform texture_2d texture = texture_2d(),
130
+ ::base::texture_coordinate_info uvw = ::base::coordinate_source(),
131
+ float2 texture_scale = float2(1.0),
132
+ float3 average_color = float3(0.5),
133
+ float patch_size = 8.0,
134
+ int seed = 0
135
+ )
136
+ {
137
+
138
+ float2 uv_in = float2(uvw.position[0], uvw.position[1]) / texture_scale;
139
+ float Z = patch_size; // patch scale inside example texture
140
+
141
+ float3 O = float3(0.f);
142
+ float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f);
143
+ float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space
144
+
145
+ float2 U = uv_in;
146
+ float2 V = M * uv_in; //pre-tilted hexa coordinates
147
+ int2 I = int2(::math::floor(V)); // hexa-tile id
148
+
149
+ // The mean color needs to be determined in Photoshop then to make the
150
+ // average color work out, take the float value and calculate the apropriate
151
+ // mean value as (value^(1/2.2))
152
+
153
+ float3 m = average_color;
154
+
155
+ float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W;
156
+ F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates
157
+
158
+ if( F[2] > 0.f )
159
+ O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I, seed))) - m)
160
+ + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1), seed))) - m)
161
+ + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0), seed))) - m);
162
+ else
163
+ O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1), seed))) - m)
164
+ + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0), seed))) - m)
165
+ + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1), seed))) - m);
166
+ O = m + O/::math::length(W);
167
+ O = ::math::clamp( (O), 0.0, 1.0);
168
+
169
+ return float3(O);
170
+ }
171
+
172
+ ::base::texture_coordinate_info transform_coordinate_2(
173
+ float4x4 transform
174
+ [[ anno::description("A transformation to be applied to the source coordinates. rotation_translation_scale() is a suggested means to compute the transformation matrix.") ]],
175
+ ::base::texture_coordinate_info coordinate = ::base::texture_coordinate_info()
176
+ [[ anno::description("Coordinate, typically sourced from coordinate_source or coordinate_projection.") ]]
177
+ ) [[
178
+ ::anno::description("Transform a texture coordinate by a matrix.") ,
179
+ ::anno::noinline()
180
+ ]]
181
+ {
182
+ float4 r_position = transform * float4(coordinate.position.x,coordinate.position.y,coordinate.position.z,1);
183
+ float4 u = transform[0];
184
+ float3 ru = ::math::normalize(float3(u.x,u.y,u.z));
185
+ float cos = ru.x;
186
+ float sin = -ru.y;
187
+
188
+ return ::base::texture_coordinate_info(
189
+ float3(r_position.x,r_position.y,r_position.z),
190
+ math::normalize(cos * coordinate.tangent_u - sin * coordinate.tangent_v),
191
+ math::normalize(cos * coordinate.tangent_v + sin * coordinate.tangent_u));
192
+ }
193
+
194
+
195
+ ::base::texture_coordinate_info vmat_transform(
196
+ float2 translation = float2(0.0, 0.0),
197
+ float rotation = 0.0, // rotation in degrees
198
+ float2 scaling = float2(1.0, 1.0),
199
+ uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
200
+ uniform int uv_space = 0
201
+ )
202
+ {
203
+ float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
204
+ float4x4 scale =
205
+ float4x4(1.0 /scaling.x, 0. , 0. , 0.,
206
+ 0. , 1.0 /scaling.y , 0. , 0.,
207
+ 0. , 0. , 1.0, 0.,
208
+ translation.x , translation.y , 0.0, 1.);
209
+
210
+ float s = ::math::sin(rotation_rad);
211
+ float c = ::math::cos(rotation_rad);
212
+ float4x4 rotate =
213
+ float4x4( c , -s , 0.0 , 0.0,
214
+ s , c , 0.0 , 0.0,
215
+ 0.0, 0.0 , 1.0 , 0.0,
216
+ 0. , 0.0 , 0.0 , 1.);
217
+
218
+ return transform_coordinate_2(scale*rotate, ::base::coordinate_source(system, uv_space));
219
+ }
220
+
221
+
222
+ struct ceramic_tiles_return {
223
+ color diffuse;
224
+ float dirt;
225
+ float tiles_isotropic_rough_squared;
226
+ float glazing_roughness;
227
+ float3 normal;
228
+ float4 randvals;
229
+ ::base::texture_coordinate_info tiles_uvw;
230
+ };
231
+
232
+ ceramic_tiles_return Ceramic_Tiles_Glazed_Square_Generator(
233
+
234
+ // Ceramic textures
235
+ // *** MAPS ***
236
+ // *** Special multimaps for tiles *** //
237
+ uniform texture_2d tex_lin_tiles_id_offset_color_tex // R - Random ID per tile
238
+ = texture_2d() [[ // G - Offset (for the tiling algorithm to work)
239
+ ::anno::description("Tiles texture that contains the tile ids," // B - Height texture for each tile for compositing the grout
240
+ " the offsets and the rotation for the tiles."),
241
+ ::anno::display_name("Tiles ID Offset Rotation Texture"),
242
+ ::anno::in_group("Textures"),
243
+ ::anno::ui_order(0)
244
+ ]],
245
+ uniform texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure // R - Diffuse color mix noise 1
246
+ = texture_2d() [[ // G - finish_roughness
247
+ ::anno::description("Tiles texture that contains the textures " // B - Craquelure
248
+ "for diffuse color mixing, the roughness and the craquelure."),
249
+ ::anno::display_name("Tiles Noise1 Roughness Craquelure"),
250
+ ::anno::in_group("Textures"),
251
+ ::anno::ui_order(1)
252
+ ]],
253
+ uniform texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops // R - Diffuse color mix noise 2
254
+ = texture_2d()[[ // G - Glazing Thickness
255
+ ::anno::description("Tiles texture that contains the textures " // B - Drops (roughness)
256
+ "for diffuse color mixing, glazing thickness and drops."),
257
+ ::anno::display_name("Tiles Noise2 Thickness Drops"),
258
+ ::anno::in_group("Textures"),
259
+ ::anno::ui_order(2)
260
+ ]],
261
+
262
+ uniform texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao // R - Height
263
+ = texture_2d() [[ // B - AO
264
+ ::anno::description("Tiles texture that contains the textures " // G - Edgefade (diffuse)
265
+ "for the tiles height, the edge fade and AO."),
266
+ ::anno::display_name("Tiles Height Edgefade AO"),
267
+ ::anno::in_group("Textures"),
268
+ ::anno::ui_order(3)
269
+ ]],
270
+
271
+ uniform texture_2d tex_lin_tiles_norm = texture_2d() // Normal texture for the tiles
272
+ [[
273
+ ::anno::description("The normal texture to be used for the ceramic tiles."),
274
+ ::anno::display_name("Tiles Normal"),
275
+ ::anno::in_group("Textures"),
276
+ ::anno::ui_order(4)
277
+ ]],
278
+ // uniform texture_2d tex_lin_orange_peel_norm = texture_2d(), // Orange Peel Texture
279
+
280
+ // Grout
281
+ uniform texture_2d tex_srgb_grout_diffuse_tex = texture_2d() // Diffuse Grout texture
282
+ [[
283
+ ::anno::description("The diffuse texture for the grout."),
284
+ ::anno::display_name("Grout Diffuse"),
285
+ ::anno::in_group("Textures"),
286
+ ::anno::ui_order(5)
287
+ ]],
288
+ uniform texture_2d tex_lin_grout_normal = texture_2d() // texture with normal for the grout
289
+ [[
290
+ ::anno::description("The normal texture for the grout."),
291
+ ::anno::display_name("Grout Normal"),
292
+ ::anno::in_group("Textures"),
293
+ ::anno::ui_order(6)
294
+ ]],
295
+
296
+ // OTHER TEXTURE REQUIRED
297
+ // OPTIONAL: Diffuse texture for the ceramix underneath the glazing. Probably not very visible
298
+
299
+ color tiles_color_1 = color(0.6f)
300
+ [[
301
+ ::anno::description("Mixing color 1 for the ceramic tiles."),
302
+ ::anno::display_name("Tiles Color 1"),
303
+ ::anno::in_group("Appearance"),
304
+ ::anno::ui_order(7)
305
+ ]],
306
+ color tiles_color_2 = color(0.7f)
307
+ [[
308
+ ::anno::description("Mixing color 2 for the ceramic tiles."),
309
+ ::anno::display_name("Tiles Color 2"),
310
+ ::anno::in_group("Appearance"),
311
+ ::anno::ui_order(8)
312
+ ]],
313
+ color tiles_color_3 = color(0.8f)
314
+ [[
315
+ ::anno::description("Mixing color 3 for the tiles."),
316
+ ::anno::display_name("Tiles Color 3"),
317
+ ::anno::in_group("Appearance"),
318
+ ::anno::ui_order(9)
319
+ ]],
320
+ float tiles_random_brightness = 0.0f
321
+ [[
322
+ ::anno::description("Randomly modifies the brightness of the tiles."),
323
+ ::anno::display_name("Tiles Random Brightness"),
324
+ ::anno::hard_range(0.0f, 1.0f),
325
+ ::anno::in_group("Appearance"),
326
+ ::anno::ui_order(10)
327
+ ]],
328
+ int tiles_random_seed = 0
329
+ [[
330
+ ::anno::description("Choose a different seed number to obtain a different randomization pattern."),
331
+ ::anno::display_name("Tiles Random Seed"),
332
+ ::anno::in_group("Tiles"),
333
+ ::anno::ui_order(11)
334
+ ]],
335
+
336
+ uniform float tiles_bump_strength = 1.0f
337
+ [[
338
+ ::anno::description("Adjusts the strength of the tiles bump map."),
339
+ ::anno::display_name("Tiles Bump Strength"),
340
+ ::anno::in_group("Tiles"),
341
+ ::anno::hard_range(0.0f, 1.0f),
342
+ ::anno::ui_order(12)
343
+ ]],
344
+ float tiles_random_slope_orientation = 0.03f
345
+ [[
346
+ ::anno::description("When increasing this value, tiles are slanted in random directions. "
347
+ "This breaks up the even look and gives the appearance that the tiles work was done by hand."),
348
+ ::anno::display_name("Tiles Random Slope Orientation"),
349
+ ::anno::soft_range(0.0f, 1.0f),
350
+ ::anno::hard_range(0.0f, 5.0f),
351
+ ::anno::in_group("Tiles"),
352
+ ::anno::ui_order(13)
353
+ ]],
354
+
355
+ float tiles_rotate = 0.0f // global rotation of texture in the tiles
356
+ [[
357
+ ::anno::description("Global rotation of the texture lookup for the tiles textures in degrees."),
358
+ ::anno::display_name("Tiles Texture Rotate"),
359
+ ::anno::soft_range(-360.0f, 360.0f),
360
+ ::anno::in_group("Tiles"),
361
+ ::anno::ui_order(15)
362
+ ]],
363
+ float tiles_random_rotation = 1.0f // random rotation amount in degrees
364
+ [[
365
+ ::anno::description("Random rotation of the textures for the tiles in degrees."),
366
+ ::anno::display_name("Tiles Random Rotation"),
367
+ ::anno::soft_range(0.0f, 360.0f),
368
+ ::anno::in_group("Tiles"),
369
+ ::anno::ui_order(16)
370
+ ]],
371
+ float tiles_scale = 1.0f
372
+ [[
373
+ ::anno::description("Scales the texture in the tiles."),
374
+ ::anno::display_name("Tiles Texture Scale"),
375
+ ::anno::in_group("Tiles"),
376
+ ::anno::soft_range(0.0f, 2.0f),
377
+ ::anno::ui_order(17)
378
+ ]],
379
+ float tiles_random_scale = 0.0f
380
+ [[
381
+ ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."),
382
+ ::anno::display_name("Tiles Random Texture Scale"),
383
+ ::anno::soft_range(0.0f, 1.0f),
384
+ ::anno::in_group("Tiles"),
385
+ ::anno::ui_order(18)
386
+ ]],
387
+
388
+ float glazing_varying_thickness_weight = 0.0f
389
+ [[
390
+ ::anno::description("Adds a varying thickness to the glazing which makes the underlying "
391
+ "ceramic color shine through."),
392
+ ::anno::display_name("Glazing Varying Thickness Weight"),
393
+ ::anno::hard_range(0.0f, 1.0f),
394
+ ::anno::in_group("Glazing"),
395
+ ::anno::ui_order(19)
396
+ ]],
397
+ float glazing_edgefade_weight = 0.0f
398
+ [[
399
+ ::anno::description("Adds a fading effect so that the glazing is thinner at the edges "
400
+ "of the tiles. This revelas the ceramic color which will begin to shine through."),
401
+ ::anno::display_name("Glazing Edgefade Weight"),
402
+ ::anno::in_group("Glazing"),
403
+ ::anno::hard_range(0.0f, 1.0f),
404
+ ::anno::ui_order(20)
405
+ ]],
406
+ float glazing_edgefade_randomness = 0.0f
407
+ [[
408
+ ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."),
409
+ ::anno::display_name("Glazing Edgefade Randomness"),
410
+ ::anno::hard_range(0.0f, 1.0f),
411
+ ::anno::in_group("Glazing"),
412
+ ::anno::ui_order(10)
413
+ ]],
414
+ float glazing_craquelure_weight = 0.0f
415
+ [[
416
+ ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."),
417
+ ::anno::display_name("Glazing Craquelure Weight"),
418
+ ::anno::in_group("Glazing"),
419
+ ::anno::hard_range(0.0f, 1.0f),
420
+ ::anno::ui_order(21)
421
+ ]],
422
+ uniform float glazing_orange_peel_bump = 1.0f
423
+ [[
424
+ ::anno::description("Adds an unevenness to the glazing so that it appears more natural."),
425
+ ::anno::display_name("Glazing Orange Peel Bump"),
426
+ ::anno::soft_range(0.0f, 1.0f),
427
+ ::anno::hard_range(0.0f, 3.0f),
428
+ ::anno::in_group("Glazing"),
429
+ ::anno::ui_order(22)
430
+ ]],
431
+ uniform float glazing_orangepeel_size = 1.0f
432
+ [[
433
+ ::anno::description("Adjusts the size of the orangepeel on the glazing."),
434
+ ::anno::display_name("Glazing Orange Peel Size"),
435
+ ::anno::soft_range(0.0f, 1.0f),
436
+ ::anno::in_group("Glazing"),
437
+ ::anno::ui_order(23)
438
+ ]],
439
+ uniform int glazing_orangepeel_noise_levels = 3
440
+ [[
441
+ ::anno::description("A higher number of levels makes the glazing layer to appear noisier "
442
+ "while a low level gives the glazing a realtively smooth appearance."),
443
+ ::anno::display_name("Glazing Orange Peel Noise Levels"),
444
+ ::anno::hard_range(0, 6),
445
+ ::anno::in_group("Glazing"),
446
+ ::anno::ui_order(24)
447
+ ]],
448
+ uniform float3 glazing_orangepeel_distortion = float3(0.0f)
449
+ [[
450
+ ::anno::description("An optional input to add distortion to the glazing orange peel."),
451
+ ::anno::display_name("Glazing Orange Peel Distortion"),
452
+ ::anno::in_group("Glazing"),
453
+ ::anno::ui_order(25)
454
+ ]],
455
+
456
+ // Roughness
457
+ float tiles_roughness = 0.04f
458
+ [[
459
+ ::anno::description("The basic roughness of the tiles."),
460
+ ::anno::display_name("Tiles Roughness"),
461
+ ::anno::in_group("Appearance"),
462
+ ::anno::hard_range(0.f, 1.f),
463
+ ::anno::ui_order(26)
464
+ ]],
465
+ float tiles_roughness_range = 0.5f
466
+ [[
467
+ ::anno::description("The amount how much the roughness is varying around its base roughness value."),
468
+ ::anno::display_name("Tiles Roughness Range"),
469
+ ::anno::in_group("Appearance"),
470
+ ::anno::hard_range(0.f, 1.f),
471
+ ::anno::ui_order(27)
472
+ ]],
473
+ float drops_amount = 0.5f
474
+ [[
475
+ ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."),
476
+ ::anno::display_name("Drops Amount"),
477
+ ::anno::in_group("Appearance"),
478
+ ::anno::hard_range(0.f, 1.f),
479
+ ::anno::ui_order(28)
480
+ ]],
481
+ float grout_brightness = 0.5f
482
+ [[
483
+ ::anno::description("Adjusts the brightness of the grout."),
484
+ ::anno::display_name("Grout Brightness"),
485
+ ::anno::in_group("Appearance"),
486
+ ::anno::hard_range(0.f, 1.f)
487
+ ]],
488
+ float grout_roughness = 0.8f
489
+ [[
490
+ ::anno::description("The roughness of the grout."),
491
+ ::anno::display_name("Grout Roughness"),
492
+ ::anno::in_group("Appearance"),
493
+ ::anno::hard_range(0.f, 1.f)
494
+ ]],
495
+
496
+ float grout_height = 0.1f
497
+ [[
498
+ ::anno::description("The height of the grout."),
499
+ ::anno::display_name("Grout Height"),
500
+ ::anno::in_group("Appearance"),
501
+ ::anno::hard_range(0.f, 1.f)
502
+ ]],
503
+ float grout_softness = 0.1f
504
+ [[
505
+ ::anno::description("The softness of the transition between the grout and the tiles."),
506
+ ::anno::display_name("Grout Transition Roughness"),
507
+ ::anno::in_group("Appearance"),
508
+ ::anno::hard_range(0.f, 1.f)
509
+ ]],
510
+ uniform float grout_bump_strength = 1.0f
511
+ [[
512
+ ::anno::description("The strength of the grout bumpmap."),
513
+ ::anno::display_name("Grout Bump Strength"),
514
+ ::anno::in_group("Appearance"),
515
+ ::anno::hard_range(0.f, 1.f)
516
+ ]],
517
+ uniform float grout_scale = 1.0f
518
+ [[
519
+ ::anno::description("Scales the texture lookup for the grout independently from the tiles."),
520
+ ::anno::display_name("Grout Scale"),
521
+ ::anno::in_group("Appearance"),
522
+ ::anno::soft_range(0.f, 2.f)
523
+ ]],
524
+ float ao_amount = 0.5f
525
+ [[
526
+ ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."),
527
+ ::anno::display_name("Ambient Occlusion Amount"),
528
+ ::anno::in_group("Appearance"),
529
+ ::anno::hard_range(0.f, 1.f)
530
+ ]],
531
+ uniform float2 texture_translate = float2(0.f) [[
532
+ ::anno::description("Controls the position of the texture."),
533
+ ::anno::display_name("Texture Translate"),
534
+ ::anno::in_group("Transform")
535
+ ]],
536
+ uniform float texture_rotate = 0.f [[
537
+ ::anno::description("Rotation angle of the texture in degrees."),
538
+ ::anno::display_name("Texture Rotate"),
539
+ ::anno::in_group("Transform"),
540
+ ::anno::soft_range(-360.f, 360.f)
541
+ ]],
542
+ uniform float2 texture_scale = float2(1.f) [[
543
+ ::anno::description("Larger numbers increase the size."),
544
+ ::anno::display_name("Texture Scale"),
545
+ ::nvidia::core_definitions::dimension(float2(1.0, 1.0)),
546
+ ::anno::in_group("Transform")
547
+ ]],
548
+ uniform int uv_space_index = 0
549
+ [[
550
+ ::anno::description("The UV texture space to be used."),
551
+ ::anno::display_name("Texture Space"),
552
+ ::anno::in_group("Advanced"),
553
+ ::anno::ui_order(10)
554
+ ]]
555
+ )
556
+ [[
557
+ ::anno::description("Glazed Ceramic Tiles generator. This function should be hidden as it has all of its "
558
+ "parameters exposed. Expose in the material that it is generated with just the parameters that are needed "
559
+ "for easy tweaking."),
560
+ ::anno::in_group("Tiles"),
561
+ ::anno::display_name("Glazed Ceramic Tiles Generator Function"),
562
+ ::anno::copyright_notice(COPYRIGHT),
563
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Glazed_Square_Brick.png"),
564
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "square", "offset")),
565
+ ::anno::hidden(),
566
+ ::anno::author("NVIDIA vMaterials"),
567
+ ::anno::contributor("Ruediger Raab"),
568
+ ::anno::contributor("Maik Rohland")
569
+ ]]
570
+ {
571
+ //texture_scale *= 0.625;
572
+ color ceramic_color = color(1.0f);
573
+ ::base::texture_coordinate_info base_uv = vmat_transform(
574
+ translation:texture_translate,
575
+ rotation: texture_rotate,
576
+ scaling: texture_scale,
577
+ system: ::base::texture_coordinate_uvw,
578
+ uv_space: uv_space_index
579
+ );
580
+
581
+ ::base::texture_coordinate_info grout_uv = ::base::texture_coordinate_info(
582
+ position: base_uv.position / grout_scale,
583
+ tangent_u: base_uv.tangent_u,
584
+ tangent_v: base_uv.tangent_v
585
+
586
+ );
587
+
588
+ float2 tile_id_uv = float2(base_uv.position.x, base_uv.position.y)*6.0f;
589
+
590
+ // --------------------------- Rand Tiles Routine -------------------------------------------------------
591
+
592
+ // rand_tiles_return rand_tiles_ret = rand_tiles(
593
+ // tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex,
594
+ // base_uv: base_uv,
595
+ // texture_space: uv_space_index,
596
+ // scale: scale,
597
+ // tiles_rotate: tiles_rotate,
598
+ // tiles_random_rotation: tiles_random_rotation,
599
+ // tiles_scale: tiles_scale,
600
+ // tiles_random_scale: tiles_random_scale
601
+ // );
602
+
603
+ // 1. Get UVs for tex_lin_tiles_id_offset_color_tex lookup plus the according cell indices
604
+ // 2. Perform lookup, correct tiles borders and generate the random values for the tiles
605
+ // 3. Use random values to generate random values for the randomized UVs
606
+ // - random scale (1 floats)
607
+ // - random rotation (1 float)
608
+ // - random offset (2 floats)
609
+ // - random brightness (1 float)
610
+ // 4. Do the random UV generation using 'vmat_transform'-function
611
+
612
+ int rand_val_1, rand_val_2, rand_val_3, rand_val_4, rand_val_5, rand_val_6;
613
+ float rnd1, rnd2, rnd3, rnd4, rnd5, rnd6;
614
+ int offset_x, offset_y;
615
+
616
+ // the rand tiles texture must be sampled exactly, so texel lookup is the function we will be using here
617
+ int2 texel_coord = int2(int(::math::frac(tile_id_uv.x) * ::tex::width(tex_lin_tiles_id_offset_color_tex)),
618
+ int(::math::frac(tile_id_uv.y) * ::tex::height(tex_lin_tiles_id_offset_color_tex)));
619
+ float3 tiles_ids = ::tex::texel_float3(tex_lin_tiles_id_offset_color_tex, texel_coord);
620
+
621
+ int rand_id = int(tiles_ids.x * 254.f); // Random tile ID's are stored in R-channel., 255 produces visual errors sometimes. 254 seems to work
622
+ // We are assuming 8bit values and generate integers from 0-255
623
+ float offset_id = tiles_ids.y; // Offset of overlapping tiles stored in G-channel
624
+ // [0 - 0.25[ : ( 0/ 0) Grayscale value: 0.1
625
+ // [0.25 - 0.5 [ : (-1/ 0) Grayscale value: 0.37
626
+ // [0.5 - 0.75[ : (-1/-1) Grayscale value: 0.62
627
+ // [0.75 - 1.0 [ : ( 0/-1) Grayscale value: 0.87
628
+ offset_x = offset_id < 0.25f ? 0 : (offset_id < .75f) ? 1 : 0;
629
+ offset_y = offset_id < 0.5 ? 0 : 1;
630
+
631
+ int2 cell_id = int2(int(::math::floor(tile_id_uv.x) - offset_x), int(::math::floor(tile_id_uv.y) - offset_y));
632
+
633
+ rand_val_1 = lowbias32(tiles_random_seed + rand_id + lowbias32(cell_id.x + lowbias32(cell_id.y)));
634
+ rand_val_2 = lowbias32(rand_val_1);
635
+ rand_val_3 = lowbias32(rand_val_2);
636
+ rand_val_4 = lowbias32(rand_val_3);
637
+ rand_val_5 = lowbias32(rand_val_4);
638
+ rand_val_6 = lowbias32(rand_val_5);
639
+
640
+ rnd1 = uint2float(rand_val_1)/4294967296.f;
641
+ rnd2 = uint2float(rand_val_2)/4294967296.f;
642
+ rnd3 = uint2float(rand_val_3)/4294967296.f;
643
+ rnd4 = uint2float(rand_val_4)/4294967296.f;
644
+ rnd5 = uint2float(rand_val_5)/4294967296.f;
645
+ rnd6 = uint2float(rand_val_6)/4294967296.f;
646
+
647
+ // Generate 2 different sets of lookups. Re-Using random numbers between functions at different positions.
648
+ // Hoping that this little save does not leave an impression on the eye
649
+ ::base::texture_coordinate_info tiles_lookup_uvw_1 =
650
+ vmat_transform(
651
+ translation:texture_translate + (float2(rnd1, rnd2)) * 17.77,
652
+ rotation: texture_rotate + (tiles_rotate + (rnd3 - 0.5f) * tiles_random_rotation) ,
653
+ scaling: texture_scale * (float2(tiles_scale) + tiles_scale* float2(rnd4) * tiles_random_scale),
654
+ system: ::base::texture_coordinate_uvw,
655
+ uv_space: uv_space_index
656
+ );
657
+
658
+
659
+
660
+ // ----------------------------------------------------------------------------------
661
+ color tiles_diff = color(1.0f, 0.0, 0.0f);
662
+ color grout_diff_lookup = color(0.5f, 1.5f, 0.5f);
663
+
664
+ // Lookup for Edgefade and tiles height, using the non-shifted original UV coordinates
665
+ float3 R_height_G_edgefade_B_ao = ::tex::lookup_float3(
666
+ tex: tex_tiles_multi_R_height_G_edgefade_B_ao,
667
+ coord: float2(base_uv.position.x, base_uv.position.y)
668
+ );
669
+
670
+ // Lookup for Noise 1, Noise 2 and Craquelure
671
+ float3 R_noise1_G_noise2_B_craquelure = ::tex::lookup_float3(
672
+ tex: tex_tiles_multi_R_noise1_G_noise2_B_craquelure,
673
+ coord: float2(tiles_lookup_uvw_1.position.x, tiles_lookup_uvw_1.position.y)
674
+ );
675
+
676
+ // Lookup the Finish Roughness, Glazing Thickness and Drops
677
+ // float3 R_rough_G_thickness_B_drops = ::tex::lookup_float3(
678
+ // tex: tex_tiles_multi_R_rough_G_thickness_B_drops,
679
+ // coord: float2(tiles_lookup_uvw_2.position.x, tiles_lookup_uvw_2.position.y)
680
+ // );
681
+
682
+
683
+ float3 R_rough_G_thickness_B_drops = nonrepeat_lookup(
684
+ texture: tex_tiles_multi_R_rough_G_thickness_B_drops,
685
+ uvw: base_uv,
686
+ average_color: float3(0.469f, 0.327f, 0.033f),
687
+ texture_scale: texture_scale*0.25f,
688
+ patch_size: 6.0,
689
+ seed: tiles_random_seed
690
+ );
691
+
692
+ float grout_mask = ::math::smoothstep(grout_height, grout_height + grout_softness, R_height_G_edgefade_B_ao.x);
693
+
694
+ if (grout_mask < 0.999f)
695
+ {
696
+ // Grout Diffuse
697
+ grout_diff_lookup = ::base::file_texture(
698
+ texture: tex_srgb_grout_diffuse_tex,
699
+ uvw: grout_uv).tint;
700
+ grout_diff_lookup = ::nvidia::core_definitions::blend_colors(
701
+ color_1: grout_diff_lookup,
702
+ color_2: color(grout_brightness),
703
+ mode: ::base::color_layer_overlay,
704
+ weight: 1.0f).tint;
705
+ }
706
+ if (grout_mask >= 0.001f)
707
+ {
708
+ // Compositing the diffuse color
709
+ ::base::color_layer layer_1 = ::base::color_layer(
710
+ layer_color: tiles_color_2,
711
+ weight: R_noise1_G_noise2_B_craquelure.x,
712
+ mode: ::base::color_layer_blend
713
+ );
714
+ // Color 3
715
+ ::base::color_layer layer_2 = ::base::color_layer(
716
+ layer_color: tiles_color_3,
717
+ weight: R_noise1_G_noise2_B_craquelure.y,
718
+ mode: ::base::color_layer_blend
719
+ );
720
+ // Varying brightness
721
+ ::base::color_layer layer_3 = ::base::color_layer(
722
+ layer_color: color(rnd6),
723
+ weight: tiles_random_brightness,
724
+ mode: ::base::color_layer_overlay
725
+ );
726
+ // Varying glazing thickness
727
+ ::base::color_layer layer_4 = ::base::color_layer(
728
+ layer_color: ceramic_color,
729
+ weight: R_rough_G_thickness_B_drops.y * glazing_varying_thickness_weight * .15f,
730
+ mode: ::base::color_layer_blend
731
+ );
732
+ // Edge Fade
733
+ ::base::color_layer layer_5 = ::base::color_layer(
734
+ layer_color: ceramic_color,
735
+ weight: glazing_edgefade_weight * (R_height_G_edgefade_B_ao.y + (0.5 - rnd3) * glazing_edgefade_randomness),
736
+ mode: ::base::color_layer_blend
737
+ );
738
+ // Craquelure
739
+ ::base::color_layer layer_6 = ::base::color_layer(
740
+ layer_color: color(R_noise1_G_noise2_B_craquelure.z),
741
+ //layer_color: color(::math::pow(R_noise1_G_noise2_B_craquelure.z, glazing_craquelure_pow)),
742
+ weight: glazing_craquelure_weight,
743
+ mode: ::base::color_layer_overlay
744
+ );
745
+
746
+ ::base::color_layer[] tile_layers = ::base::color_layer[](
747
+ layer_1, layer_2, layer_3, layer_4, layer_5, layer_6
748
+ );
749
+
750
+ tiles_diff = ::base::blend_color_layers(
751
+ layers: tile_layers,
752
+ base: tiles_color_1
753
+ ).tint;
754
+ }
755
+
756
+ ::base::texture_return tiles_diff_final = ::nvidia::core_definitions::blend_colors(
757
+ color_1: grout_diff_lookup,
758
+ color_2: tiles_diff,
759
+ mode: ::nvidia::core_definitions::color_layer_blend,
760
+ weight: grout_mask
761
+ );
762
+
763
+ tiles_diff_final = (ao_amount > 0.0) ? ::nvidia::core_definitions::blend_colors(
764
+ color_1: tiles_diff_final.tint,
765
+ color_2: color(R_height_G_edgefade_B_ao.z),
766
+ mode: ::nvidia::core_definitions::color_layer_multiply,
767
+ weight: (1.0f - grout_height) * ao_amount
768
+ ) : tiles_diff_final;
769
+
770
+
771
+ // ******** COAT Roughness ********
772
+
773
+ float glazing_roughness = histogram_range(R_rough_G_thickness_B_drops.x, tiles_roughness_range, tiles_roughness);
774
+ glazing_roughness += R_rough_G_thickness_B_drops.z * drops_amount;
775
+ glazing_roughness = ::math::lerp(grout_roughness, glazing_roughness, grout_mask);
776
+
777
+
778
+ // ******** NORMALS ********
779
+ // Tiles normal
780
+ float3 tiles_normal = ::base::tangent_space_normal_texture(
781
+ texture: tex_lin_tiles_norm,
782
+ factor: tiles_bump_strength,
783
+ uvw: base_uv
784
+ );
785
+
786
+ // Grout Normal
787
+ float3 grout_normal = ::base::tangent_space_normal_texture(
788
+ texture: tex_lin_grout_normal,
789
+ factor: grout_bump_strength,
790
+ uvw: grout_uv
791
+ );
792
+
793
+ float3 orange_peel_normal = ::base::perlin_noise_bump_texture(
794
+ uvw: base_uv,
795
+ factor: glazing_orange_peel_bump * .2f,
796
+ size: glazing_orangepeel_size * ::state::scene_units_per_meter(),
797
+ apply_marble: false,
798
+ apply_dent: false,
799
+ noise_phase: 0.0f,
800
+ noise_levels: glazing_orangepeel_noise_levels,
801
+ absolute_noise: false,
802
+ ridged_noise: false,
803
+ noise_distortion: glazing_orangepeel_distortion,
804
+ noise_threshold_high: 1.0f,
805
+ noise_threshold_low: 0.0f,
806
+ noise_bands: 1.0f,
807
+ normal: ::state::normal()
808
+ );
809
+
810
+ // Randomized Tiles normals - This needs to be probably rotated with the normal of the uv-tiles
811
+ float slope_amount = 0.07 * tiles_random_slope_orientation;
812
+ float3 slope = ::math::normalize(
813
+ ::state::texture_tangent_u(0) * (rnd5 - 0.5) * slope_amount +
814
+ ::state::texture_tangent_v(0) * (rnd6 - 0.5) * slope_amount +
815
+ ::state::normal() * ((1.0f - slope_amount) + 1.0f)
816
+ );
817
+
818
+ // http://blog.selfshadow.com/publications/blending-in-detail/
819
+ float3 n_t = transform_internal_to_tangent(slope);
820
+ float3 tiles_normal_t = transform_internal_to_tangent(tiles_normal);
821
+ float3 orange_peel_normal_t = transform_internal_to_tangent(orange_peel_normal);
822
+
823
+ // 1st detail normal
824
+ n_t=n_t + float3(0.,0.,1.);
825
+ tiles_normal_t = tiles_normal_t * float3(-1.,-1.,1.);
826
+ float3 n = n_t*math::dot(n_t, tiles_normal_t)/n_t.z - tiles_normal_t;
827
+
828
+ // 2nd detail normal
829
+ n_t = n + float3(0.,0.,1.);
830
+ orange_peel_normal_t = orange_peel_normal_t * float3(-1.,-1.,1.);
831
+ n = n_t*math::dot(n_t, orange_peel_normal_t)/n_t.z - orange_peel_normal_t;
832
+
833
+ float3 normal_final = ::math::normalize(transform_tangent_to_internal(n));
834
+ normal_final = ::math::lerp(grout_normal, normal_final, grout_mask);
835
+
836
+ return ceramic_tiles_return(
837
+ diffuse: tiles_diff_final.tint,
838
+ dirt: R_rough_G_thickness_B_drops.x,
839
+ tiles_isotropic_rough_squared: 0.2,
840
+ glazing_roughness: glazing_roughness * glazing_roughness,
841
+ normal: normal_final,
842
+ randvals: float4(rnd1, rnd2, rnd3, rnd4),
843
+ tiles_uvw: tiles_lookup_uvw_1
844
+ );
845
+ }
846
+
847
+
848
+ export material Ceramic_Tiles_Glazed_Subway(
849
+
850
+ // Main Tweaks
851
+ int tiles_random_seed = 0
852
+ [[
853
+ ::anno::description("Choose a different seed number to obtain a different randomization pattern."),
854
+ ::anno::display_name("Tiles Random Seed"),
855
+ ::anno::in_group("Appearance"),
856
+ ::anno::ui_order(0)
857
+ ]],
858
+ color tiles_color_1 = color(0.603827f, 0.533276f, 0.473531f)
859
+ [[
860
+ ::anno::description("Mixing color 1 for the ceramic tiles."),
861
+ ::anno::display_name("Tiles Color 1"),
862
+ ::anno::in_group("Appearance"),
863
+ ::anno::ui_order(1)
864
+ ]],
865
+ color tiles_color_2 = color(0.496933f, 0.445201f, 0.401978f)
866
+ [[
867
+ ::anno::description("Mixing color 2 for the ceramic tiles."),
868
+ ::anno::display_name("Tiles Color 2"),
869
+ ::anno::in_group("Appearance"),
870
+ ::anno::ui_order(2)
871
+ ]],
872
+ color tiles_color_3 = color(0.571125f, 0.539479f, 0.462077f)
873
+ [[
874
+ ::anno::description("Mixing color 3 for the tiles."),
875
+ ::anno::display_name("Tiles Color 3"),
876
+ ::anno::in_group("Appearance"),
877
+ ::anno::ui_order(3)
878
+ ]],
879
+ float tiles_random_brightness = 0.02f
880
+ [[
881
+ ::anno::description("Randomly modifies the brightness of the tiles."),
882
+ ::anno::display_name("Tiles Random Brightness"),
883
+ ::anno::in_group("Appearance"),
884
+ ::anno::hard_range(0.0f, 1.0f),
885
+ ::anno::ui_order(4)
886
+ ]],
887
+ float tiles_roughness = 0.039f
888
+ [[
889
+ ::anno::description("The basic roughness of the tiles."),
890
+ ::anno::display_name("Tiles Roughness"),
891
+ ::anno::in_group("Appearance"),
892
+ ::anno::hard_range(0.f, 1.f),
893
+ ::anno::ui_order(5)
894
+ ]],
895
+ float tiles_roughness_range = 0.008f
896
+ [[
897
+ ::anno::description("The amount how much the roughness is varying around its base roughness value."),
898
+ ::anno::display_name("Tiles Roughness Range"),
899
+ ::anno::in_group("Appearance"),
900
+ ::anno::hard_range(0.f, 1.f),
901
+ ::anno::ui_order(6)
902
+ ]],
903
+ float tiles_random_slope_orientation = 0.1f
904
+ [[
905
+ ::anno::description("When increasing this value, tiles are slanted in random directions. "
906
+ "This breaks up the even look and gives the appearance that the tiles work was done by hand."),
907
+ ::anno::display_name("Tiles Random Slope Orientation"),
908
+ ::anno::soft_range(0.0f, 1.0f),
909
+ ::anno::hard_range(0.0f, 5.0f),
910
+ ::anno::in_group("Appearance"),
911
+ ::anno::ui_order(7)
912
+ ]],
913
+ uniform float glazing_orange_peel_bump = 0.4f
914
+ [[
915
+ ::anno::description("Adds an unevenness to the glazing so that it appears more natural."),
916
+ ::anno::display_name("Glazing Orange Peel Bump"),
917
+ ::anno::soft_range(0.0f, 1.0f),
918
+ ::anno::hard_range(0.0f, 5.0f),
919
+ ::anno::in_group("Appearance"),
920
+ ::anno::ui_order(8)
921
+ ]],
922
+ float glazing_edgefade_weight = 0.17f
923
+ [[
924
+ ::anno::description("Adds a fading effect so that the glazing is thinner at the edges "
925
+ "of the tiles. This revelas the ceramic color which will begin to shine through."),
926
+ ::anno::display_name("Glazing Edgefade Weight"),
927
+ ::anno::hard_range(0.0f, 1.0f),
928
+ ::anno::in_group("Appearance"),
929
+ ::anno::ui_order(9)
930
+ ]],
931
+ float glazing_edgefade_randomness = 0.5f
932
+ [[
933
+ ::anno::description("Adds Randomness to the edgefade effect, so that tiles have varying edgefading effect."),
934
+ ::anno::display_name("Glazing Edgefade Randomness"),
935
+ ::anno::hard_range(0.0f, 1.0f),
936
+ ::anno::in_group("Appearance"),
937
+ ::anno::ui_order(10)
938
+ ]],
939
+ float glazing_craquelure_weight = 0.5f
940
+ [[
941
+ ::anno::description("Adds craquelure to the tiles to give them a more antique appearance."),
942
+ ::anno::display_name("Glazing Craquelure Weight"),
943
+ ::anno::hard_range(0.0f, 1.0f),
944
+ ::anno::in_group("Appearance"),
945
+ ::anno::ui_order(11)
946
+ ]],
947
+ float drops_amount = 0.2f
948
+ [[
949
+ ::anno::description("Adds residue of dried drops on the tiles which can be seen in the specular highlight."),
950
+ ::anno::display_name("Drops Amount"),
951
+ ::anno::in_group("Appearance"),
952
+ ::anno::hard_range(0.f, 1.f),
953
+ ::anno::ui_order(12)
954
+ ]],
955
+ float grout_brightness = 0.7f
956
+ [[
957
+ ::anno::description("Adjusts the brightness of the grout."),
958
+ ::anno::display_name("Grout Brightness"),
959
+ ::anno::in_group("Appearance"),
960
+ ::anno::hard_range(0.f, 1.f),
961
+ ::anno::ui_order(13)
962
+ ]],
963
+ float grout_height = 0.01f
964
+ [[
965
+ ::anno::description("The height of the grout."),
966
+ ::anno::display_name("Grout Height"),
967
+ ::anno::in_group("Appearance"),
968
+ ::anno::hard_range(0.f, 1.f),
969
+ ::anno::ui_order(14)
970
+ ]],
971
+ uniform float grout_scale = 0.5f
972
+ [[
973
+ ::anno::description("Scales the texture lookup for the grout independently from the tiles."),
974
+ ::anno::display_name("Grout Scale"),
975
+ ::anno::in_group("Advanced", "Grout"),
976
+ ::anno::soft_range(0.f, 2.f),
977
+ ::anno::ui_order(15)
978
+ ]],
979
+ uniform float tiles_bump_strength = 1.0f
980
+ [[
981
+ ::anno::description("Adjusts the strength of the tiles bump map."),
982
+ ::anno::display_name("Tiles Bump Strength"),
983
+ ::anno::hard_range(0.0f, 1.0f),
984
+ ::anno::in_group("Appearance"),
985
+ ::anno::ui_order(16)
986
+ ]],
987
+ color dirt_color = color(0.0582f, 0.037f, 0.0265f)
988
+ [[
989
+ ::anno::description("Sets the color of the dirt layer."),
990
+ ::anno::display_name("Dirt Layer Color"),
991
+ ::anno::in_group("Appearance", "Dirt"),
992
+ ::anno::ui_order(17)
993
+ ]],
994
+ float dirt_weight = 0.0f
995
+ [[
996
+ ::anno::description("The weight of the dirt layer."),
997
+ ::anno::display_name("Dirt Weight"),
998
+ ::anno::in_group("Appearance", "Dirt"),
999
+ ::anno::soft_range(0.f, 1.f),
1000
+ ::anno::ui_order(18)
1001
+ ]],
1002
+
1003
+ uniform float2 texture_translate = float2(0.f) [[
1004
+ ::anno::description("Controls the position of the texture."),
1005
+ ::anno::display_name("Texture Translate"),
1006
+ ::anno::in_group("Transform"),
1007
+ ::anno::ui_order(19)
1008
+ ]],
1009
+ uniform float texture_rotate = 0.f [[
1010
+ ::anno::description("Rotates angle of the texture in degrees."),
1011
+ ::anno::display_name("Texture Rotate"),
1012
+ ::anno::in_group("Transform"),
1013
+ ::anno::soft_range(-360.f, 360.f),
1014
+ ::anno::ui_order(20)
1015
+ ]],
1016
+ uniform float2 texture_scale = float2(1.f) [[
1017
+ ::anno::description("Larger numbers increase the size."),
1018
+ ::anno::display_name("Texture Scale"),
1019
+ ::nvidia::core_definitions::dimension(float2(1.0, 1.0)),
1020
+ ::anno::in_group("Transform"),
1021
+ ::anno::ui_order(21)
1022
+ ]],
1023
+
1024
+
1025
+
1026
+
1027
+ float tiles_rotate = 0.0f // global rotation of texture in the tiles
1028
+ [[
1029
+ ::anno::description("Globally rotates the texture lookup for the tiles textures in degrees."),
1030
+ ::anno::display_name("Tiles Texture Rotate"),
1031
+ ::anno::in_group("Advanced", "Tiles"),
1032
+ ::anno::ui_order(22)
1033
+ ]],
1034
+ float tiles_random_rotation = 0.360f // random rotation amount in degrees
1035
+ [[
1036
+ ::anno::description("Randomly rotates the textures for the tiles in degrees."),
1037
+ ::anno::display_name("Tiles Random Rotation"),
1038
+ ::anno::soft_range(0.f, 360.f),
1039
+ ::anno::in_group("Advanced", "Tiles"),
1040
+ ::anno::ui_order(23)
1041
+ ]],
1042
+ float tiles_scale = 1.0f
1043
+ [[
1044
+ ::anno::description("Scales the texture in the tiles."),
1045
+ ::anno::display_name("Tiles Texture Scale"),
1046
+ ::anno::soft_range(0.0f, 2.0f),
1047
+ ::anno::in_group("Advanced", "Tiles"),
1048
+ ::anno::ui_order(24)
1049
+ ]],
1050
+ float tiles_random_scale = 0.3f
1051
+ [[
1052
+ ::anno::description("Adds random variation to the scaling of the texture lookup for the tiles."),
1053
+ ::anno::display_name("Tiles Random Texture Scale"),
1054
+ ::anno::soft_range(0.0f, 1.0f),
1055
+ ::anno::in_group("Advanced", "Tiles"),
1056
+ ::anno::ui_order(25)
1057
+ ]],
1058
+
1059
+ float glazing_varying_thickness_weight = 0.00f
1060
+ [[
1061
+ ::anno::description("Adds a varying thickness to the glazing which makes the underlying "
1062
+ "ceramic color shine through."),
1063
+ ::anno::display_name("Glazing Varying Thickness Weight"),
1064
+ ::anno::hard_range(0.0f, 1.0f),
1065
+ ::anno::in_group("Advanced", "Glazing"),
1066
+ ::anno::ui_order(26)
1067
+ ]],
1068
+ uniform float glazing_orangepeel_size = 0.05f
1069
+ [[
1070
+ ::anno::description("Adjusts the size of the orangepeel on the glazing."),
1071
+ ::anno::display_name("Glazing Orange Peel Size"),
1072
+ ::anno::soft_range(0.0f, 1.0f),
1073
+ ::anno::in_group("Advanced", "Glazing"),
1074
+ ::anno::ui_order(27)
1075
+ ]],
1076
+ uniform int glazing_orangepeel_noise_levels = 4
1077
+ [[
1078
+ ::anno::description("A higher number of levels makes the glazing layer to appear noisier "
1079
+ "while a low level gives the glazing a realtively smooth appearance."),
1080
+ ::anno::display_name("Glazing Orange Peel Noise Levels"),
1081
+ ::anno::soft_range(0, 6),
1082
+ ::anno::in_group("Advanced", "Glazing"),
1083
+ ::anno::ui_order(28)
1084
+ ]],
1085
+
1086
+ float grout_roughness = 0.8f
1087
+ [[
1088
+ ::anno::description("The roughness of the grout."),
1089
+ ::anno::display_name("Grout Roughness"),
1090
+ ::anno::in_group("Advanced", "Grout"),
1091
+ ::anno::hard_range(0.f, 1.f),
1092
+ ::anno::ui_order(29)
1093
+ ]],
1094
+ float grout_softness = 0.03f
1095
+ [[
1096
+ ::anno::description("The softness of the transition between the grout and the tiles."),
1097
+ ::anno::display_name("Grout Transition Roughness"),
1098
+ ::anno::in_group("Advanced", "Grout"),
1099
+ ::anno::hard_range(0.f, 1.f),
1100
+ ::anno::ui_order(30)
1101
+ ]],
1102
+ uniform float grout_bump_strength = 1.0f
1103
+ [[
1104
+ ::anno::description("The strength of the grout bumpmap."),
1105
+ ::anno::display_name("Grout Bump Strength"),
1106
+ ::anno::in_group("Advanced", "Grout"),
1107
+ ::anno::hard_range(0.f, 1.f),
1108
+ ::anno::ui_order(31)
1109
+ ]],
1110
+ float ao_amount = 0.5f
1111
+ [[
1112
+ ::anno::description("The amount of ambient occlusion to convey more depth of grout. Used for artistical tweaking."),
1113
+ ::anno::display_name("Ambient Occlusion Amount"),
1114
+ ::anno::in_group("Advanced"),
1115
+ ::anno::hard_range(0.f, 1.f),
1116
+ ::anno::ui_order(32)
1117
+ ]],
1118
+ uniform int uv_space_index = 0
1119
+ [[
1120
+ ::anno::description("The UV texture space to be used."),
1121
+ ::anno::display_name("Texture Space"),
1122
+ ::anno::in_group("Advanced"),
1123
+ ::anno::ui_order(33)
1124
+ ]]
1125
+
1126
+ )
1127
+ [[
1128
+ ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."),
1129
+ ::anno::in_group("Tiles"),
1130
+ ::anno::display_name("Glazed Subway Tiles - Antique White"),
1131
+ ::anno::copyright_notice(COPYRIGHT),
1132
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Glazed_Subway.png"),
1133
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "architecture", "diamond", "old", "antique", "shiny", "white", "light", "neutral")),
1134
+ ::anno::author("NVIDIA vMaterials"),
1135
+ ::anno::contributor("Ruediger Raab"),
1136
+ ::anno::contributor("Maik Rohland")
1137
+ ]] =
1138
+ let {
1139
+ texture_2d tex_lin_tiles_id_offset_color_tex = texture_2d("./textures/subway_R_id_G_offs_B_rotation.png", ::tex::gamma_linear);
1140
+ texture_2d tex_lin_tiles_norm = texture_2d("./textures/subway_norm.jpg", ::tex::gamma_linear);
1141
+ texture_2d tex_tiles_multi_R_height_G_edgefade_B_ao = texture_2d("./textures/subway_multi_R_height_G_edgefade_B_ao.jpg", ::tex::gamma_linear);
1142
+ texture_2d tex_tiles_multi_R_noise1_G_noise2_B_craquelure = texture_2d("./textures/tiles2_multi_R_noise1_G_noise2_B_craquelure.png", ::tex::gamma_linear);
1143
+ texture_2d tex_tiles_multi_R_rough_G_thickness_B_drops = texture_2d("./textures/tiles_multi_R_rough_G_thickness_B_drops.jpg", ::tex::gamma_linear);
1144
+ texture_2d tex_srgb_grout_diffuse_tex = texture_2d("./textures/mortar_diff.jpg", ::tex::gamma_srgb);
1145
+ texture_2d tex_lin_grout_normal = texture_2d("./textures/mortar_norm.jpg", ::tex::gamma_linear);
1146
+
1147
+
1148
+ ceramic_tiles_return ret = Ceramic_Tiles_Glazed_Square_Generator(
1149
+ tex_lin_tiles_id_offset_color_tex: tex_lin_tiles_id_offset_color_tex,
1150
+ tex_tiles_multi_R_noise1_G_noise2_B_craquelure: tex_tiles_multi_R_noise1_G_noise2_B_craquelure,
1151
+ tex_tiles_multi_R_rough_G_thickness_B_drops: tex_tiles_multi_R_rough_G_thickness_B_drops,
1152
+ tex_tiles_multi_R_height_G_edgefade_B_ao: tex_tiles_multi_R_height_G_edgefade_B_ao,
1153
+ tex_lin_tiles_norm: tex_lin_tiles_norm,
1154
+ tex_srgb_grout_diffuse_tex: tex_srgb_grout_diffuse_tex,
1155
+ tex_lin_grout_normal: tex_lin_grout_normal,
1156
+
1157
+ tiles_random_seed: tiles_random_seed,
1158
+ tiles_color_1: tiles_color_1,
1159
+ tiles_color_2: tiles_color_2,
1160
+ tiles_color_3: tiles_color_3,
1161
+ tiles_random_brightness: tiles_random_brightness,
1162
+ tiles_bump_strength: tiles_bump_strength,
1163
+ tiles_random_slope_orientation: tiles_random_slope_orientation,
1164
+ tiles_rotate: tiles_rotate,
1165
+ tiles_random_rotation : tiles_random_rotation,
1166
+ tiles_scale : tiles_scale,
1167
+ tiles_random_scale: tiles_random_scale,
1168
+
1169
+ glazing_varying_thickness_weight: glazing_varying_thickness_weight,
1170
+ glazing_edgefade_weight: glazing_edgefade_weight,
1171
+ glazing_edgefade_randomness: glazing_edgefade_randomness,
1172
+ glazing_craquelure_weight: glazing_craquelure_weight,
1173
+ glazing_orange_peel_bump: glazing_orange_peel_bump,
1174
+ glazing_orangepeel_size: glazing_orangepeel_size,
1175
+ glazing_orangepeel_noise_levels: glazing_orangepeel_noise_levels,
1176
+
1177
+ tiles_roughness: tiles_roughness,
1178
+ tiles_roughness_range: tiles_roughness_range,
1179
+ drops_amount: drops_amount,
1180
+ grout_roughness: grout_roughness,
1181
+
1182
+ grout_brightness: grout_brightness,
1183
+ grout_height: grout_height,
1184
+ grout_softness: grout_softness,
1185
+ grout_bump_strength: grout_bump_strength,
1186
+ grout_scale: grout_scale,
1187
+ ao_amount: ao_amount,
1188
+
1189
+ texture_translate: texture_translate,
1190
+ texture_rotate: texture_rotate,
1191
+ texture_scale: texture_scale,
1192
+
1193
+ uv_space_index: uv_space_index
1194
+ );
1195
+
1196
+ bsdf diff = ::df::diffuse_reflection_bsdf(
1197
+ tint: ret.diffuse
1198
+ );
1199
+
1200
+
1201
+ } in material (
1202
+ surface : material_surface (
1203
+ scattering :
1204
+ ::df::weighted_layer(
1205
+ weight: dirt_weight * ret.dirt,
1206
+ layer: ::df::diffuse_reflection_bsdf ( tint: dirt_color),
1207
+ base: df::fresnel_layer (
1208
+ ior : 1.5,
1209
+ layer : df::microfacet_ggx_smith_bsdf(
1210
+ roughness_u: ret.glazing_roughness,
1211
+ roughness_v: ret.glazing_roughness,
1212
+ tint : color(1.),
1213
+ mode : df::scatter_reflect),
1214
+ base : diff
1215
+ )
1216
+ )
1217
+ ),
1218
+ geometry: material_geometry(
1219
+ normal: ret.normal
1220
+ )
1221
+ );
1222
+
1223
+
1224
+ export material Ceramic_Tiles_Subway_Antique_White_Dirty(*)
1225
+ [[
1226
+ ::anno::description("A glazed ceramic tiles material with interspersed diamond tiles. Offers controls for roughnes, grout, dirt, drop deposits and more."),
1227
+ ::anno::in_group("Tiles"),
1228
+ ::anno::display_name("Glazed Subway Tiles - Antique White Dirty"),
1229
+ ::anno::copyright_notice(COPYRIGHT),
1230
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Antique_White_Dirty.png"),
1231
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "floor", "wall", "interior", "architecture", "diamond", "old", "antique", "dirty", "white", "light", "neutral")),
1232
+ ::anno::author("NVIDIA vMaterials"),
1233
+ ::anno::contributor("Ruediger Raab"),
1234
+ ::anno::contributor("Maik Rohland")
1235
+ ]] = Ceramic_Tiles_Glazed_Subway(
1236
+ tiles_random_seed: 12,
1237
+ tiles_color_1: color(0.603827f, 0.533276f, 0.473531f),
1238
+ tiles_color_2: color(0.496933f, 0.445201f, 0.401978f),
1239
+ tiles_color_3: color(0.571125f, 0.539479f, 0.462077f),
1240
+ tiles_random_brightness: 0.02f,
1241
+ tiles_roughness: 0.35f,
1242
+ tiles_roughness_range: 0.8f,
1243
+ tiles_random_slope_orientation: 0.1f,
1244
+ glazing_orange_peel_bump: 1.00f,
1245
+ glazing_edgefade_weight: 0.17f,
1246
+ glazing_edgefade_randomness: 0.50f,
1247
+ glazing_craquelure_weight: 0.66f,
1248
+ drops_amount: 0.20f,
1249
+ grout_brightness: 0.50f,
1250
+ grout_height: 0.05f,
1251
+ grout_scale: 0.52f,
1252
+ tiles_bump_strength: 1.00f,
1253
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1254
+ dirt_weight: 0.8f,
1255
+ texture_translate: float2(0.0f),
1256
+ texture_rotate: 0.00f,
1257
+ texture_scale: float2(1.00f),
1258
+ tiles_rotate: 0.00f,
1259
+ tiles_random_rotation: 360.0f,
1260
+ tiles_scale: 1.00f,
1261
+ tiles_random_scale: 0.25f,
1262
+ glazing_varying_thickness_weight: 0.00f,
1263
+ glazing_orangepeel_size: 0.05f,
1264
+ glazing_orangepeel_noise_levels: 4,
1265
+ grout_roughness: 0.8f,
1266
+ grout_softness: 0.1f,
1267
+ grout_bump_strength: 1.0f,
1268
+ ao_amount: 0.75f,
1269
+ uv_space_index: 0
1270
+ );
1271
+
1272
+
1273
+ export material Ceramic_Tiles_Subway_Dark_Green_New(*)
1274
+ [[
1275
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1276
+ ::anno::in_group("Tiles"),
1277
+ ::anno::display_name("Glazed Subway Tiles - Dark Green"),
1278
+ ::anno::copyright_notice(COPYRIGHT),
1279
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_New.png"),
1280
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "green", "dark", "saturated")),
1281
+ ::anno::author("NVIDIA vMaterials"),
1282
+ ::anno::contributor("Ruediger Raab"),
1283
+ ::anno::contributor("Maik Rohland")
1284
+ ]] = Ceramic_Tiles_Glazed_Subway(
1285
+ tiles_random_seed: 0,
1286
+ tiles_color_1: color(0.003677f, 0.051269f, 0.003347f),
1287
+ tiles_color_2: color(0.051269f, 0.109462f, 0.049707f),
1288
+ tiles_color_3: color(0.006995f, 0.027321f, 0.013702f),
1289
+ tiles_random_brightness: 0.015f,
1290
+ tiles_roughness: 0.039f,
1291
+ tiles_roughness_range: 0.003f,
1292
+ tiles_random_slope_orientation: 0.04f,
1293
+ glazing_orange_peel_bump: 0.03f,
1294
+ glazing_edgefade_weight: 0.00f,
1295
+ glazing_edgefade_randomness: 0.00f,
1296
+ glazing_craquelure_weight: 0.00f,
1297
+ drops_amount: 0.00f,
1298
+ grout_brightness: 0.70f,
1299
+ grout_height: 0.01f,
1300
+ grout_scale: 0.30f,
1301
+ tiles_bump_strength: 1.00f,
1302
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1303
+ dirt_weight: 0.0f,
1304
+ texture_translate: float2(0.0f),
1305
+ texture_rotate: 0.00f,
1306
+ texture_scale: float2(1.00f),
1307
+ tiles_rotate: 0.00f,
1308
+ tiles_random_rotation: 0.00f,
1309
+ tiles_scale: 0.50f,
1310
+ tiles_random_scale: 0.00f,
1311
+ glazing_varying_thickness_weight:0.00f,
1312
+ glazing_orangepeel_size: 0.05f,
1313
+ glazing_orangepeel_noise_levels:4,
1314
+ grout_roughness: 0.8f,
1315
+ grout_softness: 0.02f,
1316
+ grout_bump_strength: 1.0f,
1317
+ ao_amount: 0.3f,
1318
+ uv_space_index: 0
1319
+ );
1320
+
1321
+
1322
+ export material Ceramic_Tiles_Subway_Dark_Green_Matte(*)
1323
+ [[
1324
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1325
+ ::anno::in_group("Tiles"),
1326
+ ::anno::display_name("Glazed Subway Tiles - Dark Green Matte"),
1327
+ ::anno::copyright_notice(COPYRIGHT),
1328
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_Matte.png"),
1329
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "green", "dark", "saturated")),
1330
+ ::anno::author("NVIDIA vMaterials"),
1331
+ ::anno::contributor("Ruediger Raab"),
1332
+ ::anno::contributor("Maik Rohland")
1333
+ ]] = Ceramic_Tiles_Glazed_Subway(
1334
+ tiles_random_seed: 0,
1335
+ tiles_color_1: color(0.003677f, 0.051269f, 0.003347f),
1336
+ tiles_color_2: color(0.051269f, 0.109462f, 0.049707f),
1337
+ tiles_color_3: color(0.006995f, 0.027321f, 0.013702f),
1338
+ tiles_random_brightness: 0.015f,
1339
+ tiles_roughness: 0.32f,
1340
+ tiles_roughness_range: 0.003f,
1341
+ tiles_random_slope_orientation: 0.04f,
1342
+ glazing_orange_peel_bump: 0.03f,
1343
+ glazing_edgefade_weight: 0.00f,
1344
+ glazing_edgefade_randomness: 0.00f,
1345
+ glazing_craquelure_weight: 0.00f,
1346
+ drops_amount: 0.00f,
1347
+ grout_brightness: 0.70f,
1348
+ grout_height: 0.01f,
1349
+ grout_scale: 0.30f,
1350
+ tiles_bump_strength: 1.00f,
1351
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1352
+ dirt_weight: 0.0f,
1353
+ texture_translate: float2(0.0f),
1354
+ texture_rotate: 0.00f,
1355
+ texture_scale: float2(1.00f),
1356
+ tiles_rotate: 0.00f,
1357
+ tiles_random_rotation: 0.00f,
1358
+ tiles_scale: 0.50f,
1359
+ tiles_random_scale: 0.00f,
1360
+ glazing_varying_thickness_weight:0.00f,
1361
+ glazing_orangepeel_size: 0.05f,
1362
+ glazing_orangepeel_noise_levels:4,
1363
+ grout_roughness: 0.8f,
1364
+ grout_softness: 0.02f,
1365
+ grout_bump_strength: 1.0f,
1366
+ ao_amount: 0.3f,
1367
+ uv_space_index: 0
1368
+ );
1369
+
1370
+ export material Ceramic_Tiles_Subway_Dark_Green_Varied_New(*)
1371
+ [[
1372
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1373
+ ::anno::in_group("Tiles"),
1374
+ ::anno::display_name("Glazed Subway Tiles - Dark Green Varied"),
1375
+ ::anno::copyright_notice(COPYRIGHT),
1376
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Green_Varied_New.png"),
1377
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "green", "dark", "saturated", "random")),
1378
+ ::anno::author("NVIDIA vMaterials"),
1379
+ ::anno::contributor("Ruediger Raab"),
1380
+ ::anno::contributor("Maik Rohland")
1381
+ ]] = Ceramic_Tiles_Glazed_Subway(
1382
+ tiles_random_seed: 2,
1383
+ tiles_color_1: color(0.003677f, 0.051269f, 0.003347f),
1384
+ tiles_color_2: color(0.051269f, 0.109462f, 0.049707f),
1385
+ tiles_color_3: color(0.006995f, 0.027321f, 0.013702f),
1386
+ tiles_random_brightness: 0.58f,
1387
+ tiles_roughness: 0.04f,
1388
+ tiles_roughness_range: 0.003f,
1389
+ tiles_random_slope_orientation: 0.04f,
1390
+ glazing_orange_peel_bump: 0.03f,
1391
+ glazing_edgefade_weight: 0.00f,
1392
+ glazing_edgefade_randomness: 0.00f,
1393
+ glazing_craquelure_weight: 0.00f,
1394
+ drops_amount: 0.00f,
1395
+ grout_brightness: 0.70f,
1396
+ grout_height: 0.01f,
1397
+ grout_scale: 0.30f,
1398
+ tiles_bump_strength: 1.00f,
1399
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1400
+ dirt_weight: 0.0f,
1401
+ texture_translate: float2(0.0f),
1402
+ texture_rotate: 0.00f,
1403
+ texture_scale: float2(1.00f),
1404
+ tiles_rotate: 0.00f,
1405
+ tiles_random_rotation: 0.00f,
1406
+ tiles_scale: 0.50f,
1407
+ tiles_random_scale: 0.00f,
1408
+ glazing_varying_thickness_weight:0.00f,
1409
+ glazing_orangepeel_size: 0.05f,
1410
+ glazing_orangepeel_noise_levels:4,
1411
+ grout_roughness: 0.8f,
1412
+ grout_softness: 0.02f,
1413
+ grout_bump_strength: 1.0f,
1414
+ ao_amount: 0.3f,
1415
+ uv_space_index: 0
1416
+ );
1417
+
1418
+
1419
+ export material Ceramic_Tiles_Subway_White(*)
1420
+ [[
1421
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1422
+ ::anno::in_group("Tiles"),
1423
+ ::anno::display_name("Glazed Subway Tiles - White"),
1424
+ ::anno::copyright_notice(COPYRIGHT),
1425
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White.png"),
1426
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "white", "light", "neutral")),
1427
+ ::anno::author("NVIDIA vMaterials"),
1428
+ ::anno::contributor("Ruediger Raab"),
1429
+ ::anno::contributor("Maik Rohland")
1430
+ ]] = Ceramic_Tiles_Glazed_Subway(
1431
+ tiles_random_seed: 0,
1432
+ tiles_color_1: color(0.651406f, 0.651406f, 0.651406f),
1433
+ tiles_color_2: color(0.651406f, 0.651406f, 0.651406f),
1434
+ tiles_color_3: color(0.651406f, 0.651406f, 0.651406f),
1435
+ tiles_random_brightness: 0.015f,
1436
+ tiles_roughness: 0.039f,
1437
+ tiles_roughness_range: 0.008f,
1438
+ tiles_random_slope_orientation: 0.04f,
1439
+ glazing_orange_peel_bump: 0.03f,
1440
+ glazing_edgefade_weight: 0.00f,
1441
+ glazing_edgefade_randomness: 0.00f,
1442
+ glazing_craquelure_weight: 0.00f,
1443
+ drops_amount: 0.00f,
1444
+ grout_brightness: 0.70f,
1445
+ grout_height: 0.01f,
1446
+ grout_scale: 0.30f,
1447
+ tiles_bump_strength: 1.00f,
1448
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1449
+ dirt_weight: 0.0f,
1450
+ texture_translate: float2(0.0f),
1451
+ texture_rotate: 0.00f,
1452
+ texture_scale: float2(1.00f),
1453
+ tiles_rotate: 0.00f,
1454
+ tiles_random_rotation: 0.00f,
1455
+ tiles_scale: 0.50f,
1456
+ tiles_random_scale: 0.00f,
1457
+ glazing_varying_thickness_weight:0.00f,
1458
+ glazing_orangepeel_size: 0.05f,
1459
+ glazing_orangepeel_noise_levels:4,
1460
+ grout_roughness: 0.8f,
1461
+ grout_softness: 0.02f,
1462
+ grout_bump_strength: 1.0f,
1463
+ ao_amount: 0.3f,
1464
+ uv_space_index: 0
1465
+ );
1466
+
1467
+
1468
+ export material Ceramic_Tiles_Subway_White_Matte(*)
1469
+ [[
1470
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1471
+ ::anno::in_group("Tiles"),
1472
+ ::anno::display_name("Glazed Subway Tiles - White Matte"),
1473
+ ::anno::copyright_notice(COPYRIGHT),
1474
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White_Matte.png"),
1475
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "white", "light", "neutral")),
1476
+ ::anno::author("NVIDIA vMaterials"),
1477
+ ::anno::contributor("Ruediger Raab"),
1478
+ ::anno::contributor("Maik Rohland")
1479
+ ]] = Ceramic_Tiles_Glazed_Subway(
1480
+ tiles_random_seed: 0,
1481
+ tiles_color_1: color(0.651406f, 0.651406f, 0.651406f),
1482
+ tiles_color_2: color(0.651406f, 0.651406f, 0.651406f),
1483
+ tiles_color_3: color(0.651406f, 0.651406f, 0.651406f),
1484
+ tiles_random_brightness: 0.015f,
1485
+ tiles_roughness: 0.32f,
1486
+ tiles_roughness_range: 0.07f,
1487
+ tiles_random_slope_orientation: 0.04f,
1488
+ glazing_orange_peel_bump: 0.03f,
1489
+ glazing_edgefade_weight: 0.00f,
1490
+ glazing_edgefade_randomness: 0.00f,
1491
+ glazing_craquelure_weight: 0.00f,
1492
+ drops_amount: 0.00f,
1493
+ grout_brightness: 0.70f,
1494
+ grout_height: 0.01f,
1495
+ grout_scale: 0.30f,
1496
+ tiles_bump_strength: 1.00f,
1497
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1498
+ dirt_weight: 0.0f,
1499
+ texture_translate: float2(0.0f),
1500
+ texture_rotate: 0.00f,
1501
+ texture_scale: float2(1.00f),
1502
+ tiles_rotate: 0.00f,
1503
+ tiles_random_rotation: 0.00f,
1504
+ tiles_scale: 0.50f,
1505
+ tiles_random_scale: 0.00f,
1506
+ glazing_varying_thickness_weight:0.00f,
1507
+ glazing_orangepeel_size: 0.05f,
1508
+ glazing_orangepeel_noise_levels:4,
1509
+ grout_roughness: 0.8f,
1510
+ grout_softness: 0.02f,
1511
+ grout_bump_strength: 1.0f,
1512
+ ao_amount: 0.3f,
1513
+ uv_space_index: 0
1514
+ );
1515
+
1516
+
1517
+
1518
+ export material Ceramic_Tiles_Subway_White_Worn_Matte(*)
1519
+ [[
1520
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1521
+ ::anno::in_group("Tiles"),
1522
+ ::anno::display_name("Glazed Subway Tiles - White Worn"),
1523
+ ::anno::copyright_notice(COPYRIGHT),
1524
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_White_Worn_Matte.png"),
1525
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "square", "offset", "worn", "aged", "old", "matte", "white", "light", "neutral")),
1526
+ ::anno::author("NVIDIA vMaterials"),
1527
+ ::anno::contributor("Ruediger Raab"),
1528
+ ::anno::contributor("Maik Rohland")
1529
+ ]] = Ceramic_Tiles_Glazed_Subway(
1530
+ tiles_random_seed: 0,
1531
+ tiles_color_1: color(0.491021f, 0.491021f, 0.491021f),
1532
+ tiles_color_2: color(0.651406f, 0.651406f, 0.564712f),
1533
+ tiles_color_3: color(0.651406f, 0.651406f, 0.479320f),
1534
+ tiles_random_brightness: 0.07f,
1535
+ tiles_roughness: 0.51f,
1536
+ tiles_roughness_range: 1.00f,
1537
+ tiles_random_slope_orientation: 0.35f,
1538
+ glazing_orange_peel_bump: 0.1f,
1539
+ glazing_edgefade_weight: 0.00f,
1540
+ glazing_edgefade_randomness: 0.00f,
1541
+ glazing_craquelure_weight: 0.30f,
1542
+ drops_amount: 0.93f,
1543
+ grout_brightness: 0.12f,
1544
+ grout_height: 0.01f,
1545
+ grout_scale: 0.30f,
1546
+ tiles_bump_strength: 1.00f,
1547
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1548
+ dirt_weight: 0.0f,
1549
+ texture_translate: float2(0.0f),
1550
+ texture_rotate: 0.00f,
1551
+ texture_scale: float2(1.00f),
1552
+ tiles_rotate: 0.00f,
1553
+ tiles_random_rotation: 0.00f,
1554
+ tiles_scale: 0.50f,
1555
+ tiles_random_scale: 0.00f,
1556
+ glazing_varying_thickness_weight:0.00f,
1557
+ glazing_orangepeel_size: 0.05f,
1558
+ glazing_orangepeel_noise_levels:4,
1559
+ grout_roughness: 0.8f,
1560
+ grout_softness: 0.02f,
1561
+ grout_bump_strength: 1.0f,
1562
+ ao_amount: 0.3f,
1563
+ uv_space_index: 0
1564
+ );
1565
+
1566
+ export material Ceramic_Tiles_Subway_Black(*)
1567
+ [[
1568
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1569
+ ::anno::in_group("Tiles"),
1570
+ ::anno::display_name("Glazed Subway Tiles - Black"),
1571
+ ::anno::copyright_notice(COPYRIGHT),
1572
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black.png"),
1573
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "black", "dark", "neutral")),
1574
+ ::anno::author("NVIDIA vMaterials"),
1575
+ ::anno::contributor("Ruediger Raab"),
1576
+ ::anno::contributor("Maik Rohland")
1577
+ ]] = Ceramic_Tiles_Glazed_Subway(
1578
+ tiles_random_seed: 0,
1579
+ tiles_color_1: color(0.012983f, 0.012983f, 0.012983f),
1580
+ tiles_color_2: color(0.012983f, 0.012983f, 0.012983f),
1581
+ tiles_color_3: color(0.009721f, 0.009721f, 0.009721f),
1582
+ tiles_random_brightness: 0.015f,
1583
+ tiles_roughness: 0.039f,
1584
+ tiles_roughness_range: 0.008f,
1585
+ tiles_random_slope_orientation: 0.04f,
1586
+ glazing_orange_peel_bump: 0.03f,
1587
+ glazing_edgefade_weight: 0.00f,
1588
+ glazing_edgefade_randomness: 0.00f,
1589
+ glazing_craquelure_weight: 0.00f,
1590
+ drops_amount: 0.00f,
1591
+ grout_brightness: 0.70f,
1592
+ grout_height: 0.01f,
1593
+ grout_scale: 0.30f,
1594
+ tiles_bump_strength: 1.00f,
1595
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1596
+ dirt_weight: 0.0f,
1597
+ texture_translate: float2(0.0f),
1598
+ texture_rotate: 0.00f,
1599
+ texture_scale: float2(1.00f),
1600
+ tiles_rotate: 0.00f,
1601
+ tiles_random_rotation: 0.00f,
1602
+ tiles_scale: 0.50f,
1603
+ tiles_random_scale: 0.00f,
1604
+ glazing_varying_thickness_weight:0.00f,
1605
+ glazing_orangepeel_size: 0.05f,
1606
+ glazing_orangepeel_noise_levels:4,
1607
+ grout_roughness: 0.8f,
1608
+ grout_softness: 0.02f,
1609
+ grout_bump_strength: 1.0f,
1610
+ ao_amount: 0.3f,
1611
+ uv_space_index: 0
1612
+ );
1613
+
1614
+
1615
+ export material Ceramic_Tiles_Subway_Black_Matte(*)
1616
+ [[
1617
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1618
+ ::anno::in_group("Tiles"),
1619
+ ::anno::display_name("Glazed Subway Tiles - Black Matte"),
1620
+ ::anno::copyright_notice(COPYRIGHT),
1621
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black_Matte.png"),
1622
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "black", "dark", "neutral")),
1623
+ ::anno::author("NVIDIA vMaterials"),
1624
+ ::anno::contributor("Ruediger Raab"),
1625
+ ::anno::contributor("Maik Rohland")
1626
+ ]] = Ceramic_Tiles_Glazed_Subway(
1627
+ tiles_random_seed: 0,
1628
+ tiles_color_1: color(0.012983f, 0.012983f, 0.012983f),
1629
+ tiles_color_2: color(0.012983f, 0.012983f, 0.012983f),
1630
+ tiles_color_3: color(0.009721f, 0.009721f, 0.009721f),
1631
+ tiles_random_brightness: 0.015f,
1632
+ tiles_roughness: 0.32f,
1633
+ tiles_roughness_range: 0.05f,
1634
+ tiles_random_slope_orientation: 0.04f,
1635
+ glazing_orange_peel_bump: 0.03f,
1636
+ glazing_edgefade_weight: 0.00f,
1637
+ glazing_edgefade_randomness: 0.00f,
1638
+ glazing_craquelure_weight: 0.00f,
1639
+ drops_amount: 0.00f,
1640
+ grout_brightness: 0.70f,
1641
+ grout_height: 0.01f,
1642
+ grout_scale: 0.30f,
1643
+ tiles_bump_strength: 1.00f,
1644
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1645
+ dirt_weight: 0.0f,
1646
+ texture_translate: float2(0.0f),
1647
+ texture_rotate: 0.00f,
1648
+ texture_scale: float2(1.00f),
1649
+ tiles_rotate: 0.00f,
1650
+ tiles_random_rotation: 0.00f,
1651
+ tiles_scale: 0.50f,
1652
+ tiles_random_scale: 0.00f,
1653
+ glazing_varying_thickness_weight:0.00f,
1654
+ glazing_orangepeel_size: 0.05f,
1655
+ glazing_orangepeel_noise_levels:4,
1656
+ grout_roughness: 0.8f,
1657
+ grout_softness: 0.02f,
1658
+ grout_bump_strength: 1.0f,
1659
+ ao_amount: 0.3f,
1660
+ uv_space_index: 0
1661
+ );
1662
+
1663
+
1664
+ export material Ceramic_Tiles_Subway_Black_Matte_Rough(*)
1665
+ [[
1666
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1667
+ ::anno::in_group("Tiles"),
1668
+ ::anno::display_name("Glazed Subway Tiles - Black Matte Rough"),
1669
+ ::anno::copyright_notice(COPYRIGHT),
1670
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Black_Matte_Rough.png"),
1671
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "rough", "bumped", "matte", "black", "dark", "neutral")),
1672
+ ::anno::author("NVIDIA vMaterials"),
1673
+ ::anno::contributor("Ruediger Raab"),
1674
+ ::anno::contributor("Maik Rohland")
1675
+ ]] = Ceramic_Tiles_Glazed_Subway(
1676
+ tiles_random_seed: 17,
1677
+ tiles_color_1: color(0.012983f, 0.012983f, 0.012983f),
1678
+ tiles_color_2: color(0.012983f, 0.012983f, 0.012983f),
1679
+ tiles_color_3: color(0.009721f, 0.009721f, 0.009721f),
1680
+ tiles_random_brightness: 0.015f,
1681
+ tiles_roughness: 0.35f,
1682
+ tiles_roughness_range: 0.12f,
1683
+ tiles_random_slope_orientation: 0.04f,
1684
+ glazing_orange_peel_bump: 0.5f,
1685
+ glazing_edgefade_weight: 0.00f,
1686
+ glazing_edgefade_randomness: 0.00f,
1687
+ glazing_craquelure_weight: 0.00f,
1688
+ drops_amount: 0.00f,
1689
+ grout_brightness: 0.70f,
1690
+ grout_height: 0.01f,
1691
+ grout_scale: 0.30f,
1692
+ tiles_bump_strength: 1.00f,
1693
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1694
+ dirt_weight: 0.0f,
1695
+ texture_translate: float2(0.0f),
1696
+ texture_rotate: 0.00f,
1697
+ texture_scale: float2(1.00f),
1698
+ tiles_rotate: 0.00f,
1699
+ tiles_random_rotation: 0.00f,
1700
+ tiles_scale: 0.50f,
1701
+ tiles_random_scale: 0.00f,
1702
+ glazing_varying_thickness_weight:0.00f,
1703
+ glazing_orangepeel_size: 0.05f,
1704
+ glazing_orangepeel_noise_levels:6,
1705
+ grout_roughness: 0.8f,
1706
+ grout_softness: 0.1f,
1707
+ grout_bump_strength: 1.0f,
1708
+ ao_amount: 0.3f,
1709
+ uv_space_index: 0
1710
+ );
1711
+
1712
+ export material Ceramic_Tiles_Subway_Dark_Gray(*)
1713
+ [[
1714
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1715
+ ::anno::in_group("Tiles"),
1716
+ ::anno::display_name("Glazed Subway Tiles - Dark Gray"),
1717
+ ::anno::copyright_notice(COPYRIGHT),
1718
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Gray.png"),
1719
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "gray", "dark", "neutral")),
1720
+ ::anno::author("NVIDIA vMaterials"),
1721
+ ::anno::contributor("Ruediger Raab"),
1722
+ ::anno::contributor("Maik Rohland")
1723
+ ]] = Ceramic_Tiles_Glazed_Subway(
1724
+ tiles_random_seed: 0,
1725
+ tiles_color_1: color(0.045186f, 0.042311f, 0.039546f),
1726
+ tiles_color_2: color(0.051269f, 0.048172f, 0.045186f),
1727
+ tiles_color_3: color(0.040915f, 0.038204f, 0.035601f),
1728
+ tiles_random_brightness: 0.015f,
1729
+ tiles_roughness: 0.039f,
1730
+ tiles_roughness_range: 0.008f,
1731
+ tiles_random_slope_orientation: 0.04f,
1732
+ glazing_orange_peel_bump: 0.03f,
1733
+ glazing_edgefade_weight: 0.00f,
1734
+ glazing_edgefade_randomness: 0.00f,
1735
+ glazing_craquelure_weight: 0.00f,
1736
+ drops_amount: 0.00f,
1737
+ grout_brightness: 0.70f,
1738
+ grout_height: 0.01f,
1739
+ grout_scale: 0.30f,
1740
+ tiles_bump_strength: 1.00f,
1741
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1742
+ dirt_weight: 0.0f,
1743
+ texture_translate: float2(0.0f),
1744
+ texture_rotate: 0.00f,
1745
+ texture_scale: float2(1.00f),
1746
+ tiles_rotate: 0.00f,
1747
+ tiles_random_rotation: 0.00f,
1748
+ tiles_scale: 0.50f,
1749
+ tiles_random_scale: 0.00f,
1750
+ glazing_varying_thickness_weight:0.00f,
1751
+ glazing_orangepeel_size: 0.05f,
1752
+ glazing_orangepeel_noise_levels:4,
1753
+ grout_roughness: 0.8f,
1754
+ grout_softness: 0.02f,
1755
+ grout_bump_strength: 1.0f,
1756
+ ao_amount: 0.3f,
1757
+ uv_space_index: 0
1758
+ );
1759
+
1760
+
1761
+ export material Ceramic_Tiles_Subway_Dark_Gray_Matte(*)
1762
+ [[
1763
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1764
+ ::anno::in_group("Tiles"),
1765
+ ::anno::display_name("Glazed Subway Tiles - Dark Gray Matte"),
1766
+ ::anno::copyright_notice(COPYRIGHT),
1767
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Dark_Gray_Matte.png"),
1768
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "dark", "neutral")),
1769
+ ::anno::author("NVIDIA vMaterials"),
1770
+ ::anno::contributor("Ruediger Raab"),
1771
+ ::anno::contributor("Maik Rohland")
1772
+ ]] = Ceramic_Tiles_Glazed_Subway(
1773
+ tiles_random_seed: 0,
1774
+ tiles_color_1: color(0.045186f, 0.042311f, 0.039546f),
1775
+ tiles_color_2: color(0.051269f, 0.048172f, 0.045186f),
1776
+ tiles_color_3: color(0.040915f, 0.038204f, 0.035601f),
1777
+ tiles_random_brightness: 0.015f,
1778
+ tiles_roughness: 0.32f,
1779
+ tiles_roughness_range: 0.05f,
1780
+ tiles_random_slope_orientation: 0.04f,
1781
+ glazing_orange_peel_bump: 0.03f,
1782
+ glazing_edgefade_weight: 0.00f,
1783
+ glazing_edgefade_randomness: 0.00f,
1784
+ glazing_craquelure_weight: 0.00f,
1785
+ drops_amount: 0.00f,
1786
+ grout_brightness: 0.70f,
1787
+ grout_height: 0.01f,
1788
+ grout_scale: 0.30f,
1789
+ tiles_bump_strength: 1.00f,
1790
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1791
+ dirt_weight: 0.0f,
1792
+ texture_translate: float2(0.0f),
1793
+ texture_rotate: 0.00f,
1794
+ texture_scale: float2(1.00f),
1795
+ tiles_rotate: 0.00f,
1796
+ tiles_random_rotation: 0.00f,
1797
+ tiles_scale: 0.50f,
1798
+ tiles_random_scale: 0.00f,
1799
+ glazing_varying_thickness_weight:0.00f,
1800
+ glazing_orangepeel_size: 0.05f,
1801
+ glazing_orangepeel_noise_levels:4,
1802
+ grout_roughness: 0.8f,
1803
+ grout_softness: 0.02f,
1804
+ grout_bump_strength: 1.0f,
1805
+ ao_amount: 0.3f,
1806
+ uv_space_index: 0
1807
+ );
1808
+
1809
+
1810
+ export material Ceramic_Tiles_Subway_Gray(*)
1811
+ [[
1812
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1813
+ ::anno::in_group("Tiles"),
1814
+ ::anno::display_name("Glazed Subway Tiles - Gray"),
1815
+ ::anno::copyright_notice(COPYRIGHT),
1816
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray.png"),
1817
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "gray", "neutral")),
1818
+ ::anno::author("NVIDIA vMaterials"),
1819
+ ::anno::contributor("Ruediger Raab"),
1820
+ ::anno::contributor("Maik Rohland")
1821
+ ]] = Ceramic_Tiles_Glazed_Subway(
1822
+ tiles_random_seed: 0,
1823
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1824
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1825
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1826
+ tiles_random_brightness: 0.015f,
1827
+ tiles_roughness: 0.039f,
1828
+ tiles_roughness_range: 0.008f,
1829
+ tiles_random_slope_orientation: 0.04f,
1830
+ glazing_orange_peel_bump: 0.03f,
1831
+ glazing_edgefade_weight: 0.00f,
1832
+ glazing_edgefade_randomness: 0.00f,
1833
+ glazing_craquelure_weight: 0.00f,
1834
+ drops_amount: 0.00f,
1835
+ grout_brightness: 0.70f,
1836
+ grout_height: 0.01f,
1837
+ grout_scale: 0.30f,
1838
+ tiles_bump_strength: 1.00f,
1839
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1840
+ dirt_weight: 0.0f,
1841
+ texture_translate: float2(0.0f),
1842
+ texture_rotate: 0.00f,
1843
+ texture_scale: float2(1.00f),
1844
+ tiles_rotate: 0.00f,
1845
+ tiles_random_rotation: 0.00f,
1846
+ tiles_scale: 0.50f,
1847
+ tiles_random_scale: 0.00f,
1848
+ glazing_varying_thickness_weight:0.00f,
1849
+ glazing_orangepeel_size: 0.05f,
1850
+ glazing_orangepeel_noise_levels:4,
1851
+ grout_roughness: 0.8f,
1852
+ grout_softness: 0.02f,
1853
+ grout_bump_strength: 1.0f,
1854
+ ao_amount: 0.3f,
1855
+ uv_space_index: 0
1856
+ );
1857
+
1858
+ export material Ceramic_Tiles_Subway_Gray_Matte(*)
1859
+ [[
1860
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1861
+ ::anno::in_group("Tiles"),
1862
+ ::anno::display_name("Glazed Subway Tiles - Gray Matte"),
1863
+ ::anno::copyright_notice(COPYRIGHT),
1864
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray_Matte.png"),
1865
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "neutral")),
1866
+ ::anno::author("NVIDIA vMaterials"),
1867
+ ::anno::contributor("Ruediger Raab"),
1868
+ ::anno::contributor("Maik Rohland")
1869
+ ]] = Ceramic_Tiles_Glazed_Subway(
1870
+ tiles_random_seed: 0,
1871
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1872
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1873
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1874
+ tiles_random_brightness: 0.015f,
1875
+ tiles_roughness: 0.32f,
1876
+ tiles_roughness_range: 0.05f,
1877
+ tiles_random_slope_orientation: 0.04f,
1878
+ glazing_orange_peel_bump: 0.03f,
1879
+ glazing_edgefade_weight: 0.00f,
1880
+ glazing_edgefade_randomness: 0.00f,
1881
+ glazing_craquelure_weight: 0.00f,
1882
+ drops_amount: 0.00f,
1883
+ grout_brightness: 0.70f,
1884
+ grout_height: 0.01f,
1885
+ grout_scale: 0.30f,
1886
+ tiles_bump_strength: 1.00f,
1887
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1888
+ dirt_weight: 0.0f,
1889
+ texture_translate: float2(0.0f),
1890
+ texture_rotate: 0.00f,
1891
+ texture_scale: float2(1.00f),
1892
+ tiles_rotate: 0.00f,
1893
+ tiles_random_rotation: 0.00f,
1894
+ tiles_scale: 0.50f,
1895
+ tiles_random_scale: 0.00f,
1896
+ glazing_varying_thickness_weight:0.00f,
1897
+ glazing_orangepeel_size: 0.05f,
1898
+ glazing_orangepeel_noise_levels:4,
1899
+ grout_roughness: 0.8f,
1900
+ grout_softness: 0.02f,
1901
+ grout_bump_strength: 1.0f,
1902
+ ao_amount: 0.3f,
1903
+ uv_space_index: 0
1904
+ );
1905
+
1906
+ export material Ceramic_Tiles_Subway_Gray_Matte_Varied(*)
1907
+ [[
1908
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1909
+ ::anno::in_group("Tiles"),
1910
+ ::anno::display_name("Glazed Subway Tiles - Gray Matte Varied"),
1911
+ ::anno::copyright_notice(COPYRIGHT),
1912
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Gray_Matte_Varied.png"),
1913
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "matte", "gray", "neutral", "random")),
1914
+ ::anno::author("NVIDIA vMaterials"),
1915
+ ::anno::contributor("Ruediger Raab"),
1916
+ ::anno::contributor("Maik Rohland")
1917
+ ]] = Ceramic_Tiles_Glazed_Subway(
1918
+ tiles_random_seed: 3,
1919
+ tiles_color_1: color(0.187821f, 0.187821f, 0.162029f),
1920
+ tiles_color_2: color(0.187821f, 0.187821f, 0.162029f),
1921
+ tiles_color_3: color(0.187821f, 0.187821f, 0.187821f),
1922
+ tiles_random_brightness: 0.81f,
1923
+ tiles_roughness: 0.32f,
1924
+ tiles_roughness_range: 0.05f,
1925
+ tiles_random_slope_orientation: 0.04f,
1926
+ glazing_orange_peel_bump: 0.03f,
1927
+ glazing_edgefade_weight: 0.00f,
1928
+ glazing_edgefade_randomness: 0.00f,
1929
+ glazing_craquelure_weight: 0.00f,
1930
+ drops_amount: 0.00f,
1931
+ grout_brightness: 0.70f,
1932
+ grout_height: 0.01f,
1933
+ grout_scale: 0.30f,
1934
+ tiles_bump_strength: 1.00f,
1935
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1936
+ dirt_weight: 0.0f,
1937
+ texture_translate: float2(0.0f),
1938
+ texture_rotate: 0.00f,
1939
+ texture_scale: float2(1.00f),
1940
+ tiles_rotate: 0.00f,
1941
+ tiles_random_rotation: 0.00f,
1942
+ tiles_scale: 0.50f,
1943
+ tiles_random_scale: 0.00f,
1944
+ glazing_varying_thickness_weight:0.00f,
1945
+ glazing_orangepeel_size: 0.05f,
1946
+ glazing_orangepeel_noise_levels:4,
1947
+ grout_roughness: 0.8f,
1948
+ grout_softness: 0.02f,
1949
+ grout_bump_strength: 1.0f,
1950
+ ao_amount: 0.3f,
1951
+ uv_space_index: 0
1952
+ );
1953
+
1954
+ export material Ceramic_Tiles_Subway_Mint(*)
1955
+ [[
1956
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
1957
+ ::anno::in_group("Tiles"),
1958
+ ::anno::display_name("Glazed Subway Tiles - Mint Green"),
1959
+ ::anno::copyright_notice(COPYRIGHT),
1960
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Mint.png"),
1961
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "mint", "green")),
1962
+ ::anno::author("NVIDIA vMaterials"),
1963
+ ::anno::contributor("Ruediger Raab"),
1964
+ ::anno::contributor("Maik Rohland")
1965
+ ]] = Ceramic_Tiles_Glazed_Subway(
1966
+ tiles_random_seed: 0,
1967
+ tiles_color_1: color(0.230740f, 0.309469f, 0.165132f),
1968
+ tiles_color_2: color(0.226966f, 0.304987f, 0.162029f),
1969
+ tiles_color_3: color(0.223228f, 0.300544f, 0.158961f),
1970
+ tiles_random_brightness: 0.015f,
1971
+ tiles_roughness: 0.039f,
1972
+ tiles_roughness_range: 0.008f,
1973
+ tiles_random_slope_orientation: 0.04f,
1974
+ glazing_orange_peel_bump: 0.03f,
1975
+ glazing_edgefade_weight: 0.00f,
1976
+ glazing_edgefade_randomness: 0.00f,
1977
+ glazing_craquelure_weight: 0.00f,
1978
+ drops_amount: 0.00f,
1979
+ grout_brightness: 0.70f,
1980
+ grout_height: 0.01f,
1981
+ grout_scale: 0.30f,
1982
+ tiles_bump_strength: 1.00f,
1983
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
1984
+ dirt_weight: 0.0f,
1985
+ texture_translate: float2(0.0f),
1986
+ texture_rotate: 0.00f,
1987
+ texture_scale: float2(1.00f),
1988
+ tiles_rotate: 0.00f,
1989
+ tiles_random_rotation: 0.00f,
1990
+ tiles_scale: 0.50f,
1991
+ tiles_random_scale: 0.00f,
1992
+ glazing_varying_thickness_weight:0.00f,
1993
+ glazing_orangepeel_size: 0.05f,
1994
+ glazing_orangepeel_noise_levels:4,
1995
+ grout_roughness: 0.8f,
1996
+ grout_softness: 0.02f,
1997
+ grout_bump_strength: 1.0f,
1998
+ ao_amount: 0.3f,
1999
+ uv_space_index: 0
2000
+ );
2001
+
2002
+ export material Ceramic_Tiles_Subway_Mint_Varied(*)
2003
+ [[
2004
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2005
+ ::anno::in_group("Tiles"),
2006
+ ::anno::display_name("Glazed Subway Tiles - Mint Green Varied"),
2007
+ ::anno::copyright_notice(COPYRIGHT),
2008
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Mint_Varied.png"),
2009
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "mint", "green", "light", "random")),
2010
+ ::anno::author("NVIDIA vMaterials"),
2011
+ ::anno::contributor("Ruediger Raab"),
2012
+ ::anno::contributor("Maik Rohland")
2013
+ ]] = Ceramic_Tiles_Glazed_Subway(
2014
+ tiles_random_seed: 4,
2015
+ tiles_color_1: color(0.230740f, 0.309469f, 0.165132f),
2016
+ tiles_color_2: color(0.226966f, 0.304987f, 0.162029f),
2017
+ tiles_color_3: color(0.223228f, 0.300544f, 0.158961f),
2018
+ tiles_random_brightness: 0.61f,
2019
+ tiles_roughness: 0.039f,
2020
+ tiles_roughness_range: 0.008f,
2021
+ tiles_random_slope_orientation: 0.04f,
2022
+ glazing_orange_peel_bump: 0.03f,
2023
+ glazing_edgefade_weight: 0.00f,
2024
+ glazing_edgefade_randomness: 0.00f,
2025
+ glazing_craquelure_weight: 0.00f,
2026
+ drops_amount: 0.00f,
2027
+ grout_brightness: 0.70f,
2028
+ grout_height: 0.01f,
2029
+ grout_scale: 0.30f,
2030
+ tiles_bump_strength: 1.00f,
2031
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2032
+ dirt_weight: 0.0f,
2033
+ texture_translate: float2(0.0f),
2034
+ texture_rotate: 0.00f,
2035
+ texture_scale: float2(1.00f),
2036
+ tiles_rotate: 0.00f,
2037
+ tiles_random_rotation: 0.00f,
2038
+ tiles_scale: 0.50f,
2039
+ tiles_random_scale: 0.00f,
2040
+ glazing_varying_thickness_weight:0.00f,
2041
+ glazing_orangepeel_size: 0.05f,
2042
+ glazing_orangepeel_noise_levels:4,
2043
+ grout_roughness: 0.8f,
2044
+ grout_softness: 0.02f,
2045
+ grout_bump_strength: 1.0f,
2046
+ ao_amount: 0.3f,
2047
+ uv_space_index: 0
2048
+ );
2049
+
2050
+ export material Ceramic_Tiles_Subway_Lime_Green(*)
2051
+ [[
2052
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2053
+ ::anno::in_group("Tiles"),
2054
+ ::anno::display_name("Glazed Subway Tiles - Lime Green"),
2055
+ ::anno::copyright_notice(COPYRIGHT),
2056
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Lime_Green.png"),
2057
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "lime", "green", "light")),
2058
+ ::anno::author("NVIDIA vMaterials"),
2059
+ ::anno::contributor("Ruediger Raab"),
2060
+ ::anno::contributor("Maik Rohland")
2061
+ ]] = Ceramic_Tiles_Glazed_Subway(
2062
+ tiles_random_seed: 0,
2063
+ tiles_color_1: color(0.313989f, 0.361307f, 0.027321f),
2064
+ tiles_color_2: color(0.309469f, 0.356400f, 0.027321f),
2065
+ tiles_color_3: color(0.304987f, 0.351533f, 0.027321f),
2066
+ tiles_random_brightness: 0.015f,
2067
+ tiles_roughness: 0.039f,
2068
+ tiles_roughness_range: 0.008f,
2069
+ tiles_random_slope_orientation: 0.04f,
2070
+ glazing_orange_peel_bump: 0.03f,
2071
+ glazing_edgefade_weight: 0.00f,
2072
+ glazing_edgefade_randomness: 0.00f,
2073
+ glazing_craquelure_weight: 0.00f,
2074
+ drops_amount: 0.00f,
2075
+ grout_brightness: 0.70f,
2076
+ grout_height: 0.01f,
2077
+ grout_scale: 0.30f,
2078
+ tiles_bump_strength: 1.00f,
2079
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2080
+ dirt_weight: 0.0f,
2081
+ texture_translate: float2(0.0f),
2082
+ texture_rotate: 0.00f,
2083
+ texture_scale: float2(1.00f),
2084
+ tiles_rotate: 0.00f,
2085
+ tiles_random_rotation: 0.00f,
2086
+ tiles_scale: 0.50f,
2087
+ tiles_random_scale: 0.00f,
2088
+ glazing_varying_thickness_weight:0.00f,
2089
+ glazing_orangepeel_size: 0.05f,
2090
+ glazing_orangepeel_noise_levels:4,
2091
+ grout_roughness: 0.8f,
2092
+ grout_softness: 0.02f,
2093
+ grout_bump_strength: 1.0f,
2094
+ ao_amount: 0.3f,
2095
+ uv_space_index: 0
2096
+ );
2097
+
2098
+
2099
+ export material Ceramic_Tiles_Subway_Lime_Green_Varied(*)
2100
+ [[
2101
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2102
+ ::anno::in_group("Tiles"),
2103
+ ::anno::display_name("Glazed Subway Tiles - Lime Green Varied"),
2104
+ ::anno::copyright_notice(COPYRIGHT),
2105
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Lime_Green_Varied.png"),
2106
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "lime", "green", "random", "light")),
2107
+ ::anno::author("NVIDIA vMaterials"),
2108
+ ::anno::contributor("Ruediger Raab"),
2109
+ ::anno::contributor("Maik Rohland")
2110
+ ]] = Ceramic_Tiles_Glazed_Subway(
2111
+ tiles_random_seed: 8,
2112
+ tiles_color_1: color(0.313989f, 0.361307f, 0.027321f),
2113
+ tiles_color_2: color(0.309469f, 0.356400f, 0.027321f),
2114
+ tiles_color_3: color(0.304987f, 0.351533f, 0.027321f),
2115
+ tiles_random_brightness: 0.52f,
2116
+ tiles_roughness: 0.039f,
2117
+ tiles_roughness_range: 0.008f,
2118
+ tiles_random_slope_orientation: 0.04f,
2119
+ glazing_orange_peel_bump: 0.03f,
2120
+ glazing_edgefade_weight: 0.00f,
2121
+ glazing_edgefade_randomness: 0.00f,
2122
+ glazing_craquelure_weight: 0.00f,
2123
+ drops_amount: 0.00f,
2124
+ grout_brightness: 0.70f,
2125
+ grout_height: 0.01f,
2126
+ grout_scale: 0.30f,
2127
+ tiles_bump_strength: 1.00f,
2128
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2129
+ dirt_weight: 0.0f,
2130
+ texture_translate: float2(0.0f),
2131
+ texture_rotate: 0.00f,
2132
+ texture_scale: float2(1.00f),
2133
+ tiles_rotate: 0.00f,
2134
+ tiles_random_rotation: 0.00f,
2135
+ tiles_scale: 0.50f,
2136
+ tiles_random_scale: 0.00f,
2137
+ glazing_varying_thickness_weight:0.00f,
2138
+ glazing_orangepeel_size: 0.05f,
2139
+ glazing_orangepeel_noise_levels:4,
2140
+ grout_roughness: 0.8f,
2141
+ grout_softness: 0.02f,
2142
+ grout_bump_strength: 1.0f,
2143
+ ao_amount: 0.3f,
2144
+ uv_space_index: 0
2145
+ );
2146
+
2147
+
2148
+ export material Ceramic_Tiles_Subway_Yellow(*)
2149
+ [[
2150
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2151
+ ::anno::in_group("Tiles"),
2152
+ ::anno::display_name("Glazed Subway Tiles - Yellow"),
2153
+ ::anno::copyright_notice(COPYRIGHT),
2154
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Yellow.png"),
2155
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "yellow", "warm", "saturated", "light")),
2156
+ ::anno::author("NVIDIA vMaterials"),
2157
+ ::anno::contributor("Ruediger Raab"),
2158
+ ::anno::contributor("Maik Rohland")
2159
+ ]] = Ceramic_Tiles_Glazed_Subway(
2160
+ tiles_random_seed: 0,
2161
+ tiles_color_1: color(0.590619f, 0.371238f, 0.033105f),
2162
+ tiles_color_2: color(0.584078f, 0.366253f, 0.033105f),
2163
+ tiles_color_3: color(0.577580f, 0.361307f, 0.033105f),
2164
+ tiles_random_brightness: 0.015f,
2165
+ tiles_roughness: 0.039f,
2166
+ tiles_roughness_range: 0.008f,
2167
+ tiles_random_slope_orientation: 0.04f,
2168
+ glazing_orange_peel_bump: 0.03f,
2169
+ glazing_edgefade_weight: 0.00f,
2170
+ glazing_edgefade_randomness: 0.00f,
2171
+ glazing_craquelure_weight: 0.00f,
2172
+ drops_amount: 0.00f,
2173
+ grout_brightness: 0.70f,
2174
+ grout_height: 0.01f,
2175
+ grout_scale: 0.30f,
2176
+ tiles_bump_strength: 1.00f,
2177
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2178
+ dirt_weight: 0.0f,
2179
+ texture_translate: float2(0.0f),
2180
+ texture_rotate: 0.00f,
2181
+ texture_scale: float2(1.00f),
2182
+ tiles_rotate: 0.00f,
2183
+ tiles_random_rotation: 0.00f,
2184
+ tiles_scale: 0.50f,
2185
+ tiles_random_scale: 0.00f,
2186
+ glazing_varying_thickness_weight:0.00f,
2187
+ glazing_orangepeel_size: 0.05f,
2188
+ glazing_orangepeel_noise_levels:4,
2189
+ grout_roughness: 0.8f,
2190
+ grout_softness: 0.02f,
2191
+ grout_bump_strength: 1.0f,
2192
+ ao_amount: 0.1f,
2193
+ uv_space_index: 0
2194
+ );
2195
+
2196
+ export material Ceramic_Tiles_Subway_Yellow_Varied(*)
2197
+ [[
2198
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2199
+ ::anno::in_group("Tiles"),
2200
+ ::anno::display_name("Glazed Subway Tiles - Yellow Varied"),
2201
+ ::anno::copyright_notice(COPYRIGHT),
2202
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Yellow_Varied.png"),
2203
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "yellow", "warm", "saturated", "light", "random")),
2204
+ ::anno::author("NVIDIA vMaterials"),
2205
+ ::anno::contributor("Ruediger Raab"),
2206
+ ::anno::contributor("Maik Rohland")
2207
+ ]] = Ceramic_Tiles_Glazed_Subway(
2208
+ tiles_random_seed: 6,
2209
+ tiles_color_1: color(0.590619f, 0.371238f, 0.033105f),
2210
+ tiles_color_2: color(0.584078f, 0.366253f, 0.033105f),
2211
+ tiles_color_3: color(0.577580f, 0.361307f, 0.033105f),
2212
+ tiles_random_brightness: 0.45f,
2213
+ tiles_roughness: 0.039f,
2214
+ tiles_roughness_range: 0.008f,
2215
+ tiles_random_slope_orientation: 0.04f,
2216
+ glazing_orange_peel_bump: 0.03f,
2217
+ glazing_edgefade_weight: 0.00f,
2218
+ glazing_edgefade_randomness: 0.00f,
2219
+ glazing_craquelure_weight: 0.00f,
2220
+ drops_amount: 0.00f,
2221
+ grout_brightness: 0.70f,
2222
+ grout_height: 0.01f,
2223
+ grout_scale: 0.30f,
2224
+ tiles_bump_strength: 1.00f,
2225
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2226
+ dirt_weight: 0.0f,
2227
+ texture_translate: float2(0.0f),
2228
+ texture_rotate: 0.00f,
2229
+ texture_scale: float2(1.00f),
2230
+ tiles_rotate: 0.00f,
2231
+ tiles_random_rotation: 0.00f,
2232
+ tiles_scale: 0.50f,
2233
+ tiles_random_scale: 0.00f,
2234
+ glazing_varying_thickness_weight:0.00f,
2235
+ glazing_orangepeel_size: 0.05f,
2236
+ glazing_orangepeel_noise_levels:4,
2237
+ grout_roughness: 0.8f,
2238
+ grout_softness: 0.02f,
2239
+ grout_bump_strength: 1.0f,
2240
+ ao_amount: 0.1f,
2241
+ uv_space_index: 0
2242
+ );
2243
+
2244
+
2245
+ export material Ceramic_Tiles_Subway_Petrol(*)
2246
+ [[
2247
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2248
+ ::anno::in_group("Tiles"),
2249
+ ::anno::display_name("Glazed Subway Tiles - Petrol"),
2250
+ ::anno::copyright_notice(COPYRIGHT),
2251
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Petrol.png"),
2252
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "petrol", "cool")),
2253
+ ::anno::author("NVIDIA vMaterials"),
2254
+ ::anno::contributor("Ruediger Raab"),
2255
+ ::anno::contributor("Maik Rohland")
2256
+ ]] = Ceramic_Tiles_Glazed_Subway(
2257
+ tiles_random_seed: 0,
2258
+ tiles_color_1: color(0.029557f, 0.107023f, 0.135633f),
2259
+ tiles_color_2: color(0.029557f, 0.104616f, 0.132868f),
2260
+ tiles_color_3: color(0.028426f, 0.102242f, 0.130136f),
2261
+ tiles_random_brightness: 0.015f,
2262
+ tiles_roughness: 0.039f,
2263
+ tiles_roughness_range: 0.008f,
2264
+ tiles_random_slope_orientation: 0.04f,
2265
+ glazing_orange_peel_bump: 0.03f,
2266
+ glazing_edgefade_weight: 0.00f,
2267
+ glazing_edgefade_randomness: 0.00f,
2268
+ glazing_craquelure_weight: 0.00f,
2269
+ drops_amount: 0.00f,
2270
+ grout_brightness: 0.70f,
2271
+ grout_height: 0.01f,
2272
+ grout_scale: 0.30f,
2273
+ tiles_bump_strength: 1.00f,
2274
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2275
+ dirt_weight: 0.0f,
2276
+ texture_translate: float2(0.0f),
2277
+ texture_rotate: 0.00f,
2278
+ texture_scale: float2(1.00f),
2279
+ tiles_rotate: 0.00f,
2280
+ tiles_random_rotation: 0.00f,
2281
+ tiles_scale: 0.50f,
2282
+ tiles_random_scale: 0.00f,
2283
+ glazing_varying_thickness_weight:0.00f,
2284
+ glazing_orangepeel_size: 0.05f,
2285
+ glazing_orangepeel_noise_levels:4,
2286
+ grout_roughness: 0.8f,
2287
+ grout_softness: 0.02f,
2288
+ grout_bump_strength: 1.0f,
2289
+ ao_amount: 0.3f,
2290
+ uv_space_index: 0
2291
+ );
2292
+
2293
+ export material Ceramic_Tiles_Subway_Petrol_Varied(*)
2294
+ [[
2295
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2296
+ ::anno::in_group("Tiles"),
2297
+ ::anno::display_name("Glazed Subway Tiles - Petrol Varied"),
2298
+ ::anno::copyright_notice(COPYRIGHT),
2299
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Petrol_Varied.png"),
2300
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "petrol", "cool", "random")),
2301
+ ::anno::author("NVIDIA vMaterials"),
2302
+ ::anno::contributor("Ruediger Raab"),
2303
+ ::anno::contributor("Maik Rohland")
2304
+ ]] = Ceramic_Tiles_Glazed_Subway(
2305
+ tiles_random_seed: 7,
2306
+ tiles_color_1: color(0.039546f, 0.152926f, 0.194618f),
2307
+ tiles_color_2: color(0.038204f, 0.144128f, 0.181164f),
2308
+ tiles_color_3: color(0.039546f, 0.149960f, 0.191202f),
2309
+ tiles_random_brightness: 0.70f,
2310
+ tiles_roughness: 0.039f,
2311
+ tiles_roughness_range: 0.008f,
2312
+ tiles_random_slope_orientation: 0.04f,
2313
+ glazing_orange_peel_bump: 0.03f,
2314
+ glazing_edgefade_weight: 0.00f,
2315
+ glazing_edgefade_randomness: 0.00f,
2316
+ glazing_craquelure_weight: 0.00f,
2317
+ drops_amount: 0.00f,
2318
+ grout_brightness: 0.70f,
2319
+ grout_height: 0.01f,
2320
+ grout_scale: 0.30f,
2321
+ tiles_bump_strength: 1.00f,
2322
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2323
+ dirt_weight: 0.0f,
2324
+ texture_translate: float2(0.0f),
2325
+ texture_rotate: 0.00f,
2326
+ texture_scale: float2(1.00f),
2327
+ tiles_rotate: 0.00f,
2328
+ tiles_random_rotation: 0.00f,
2329
+ tiles_scale: 0.50f,
2330
+ tiles_random_scale: 0.00f,
2331
+ glazing_varying_thickness_weight:0.00f,
2332
+ glazing_orangepeel_size: 0.05f,
2333
+ glazing_orangepeel_noise_levels:4,
2334
+ grout_roughness: 0.8f,
2335
+ grout_softness: 0.02f,
2336
+ grout_bump_strength: 1.0f,
2337
+ ao_amount: 0.3f,
2338
+ uv_space_index: 0
2339
+ );
2340
+
2341
+ export material Ceramic_Tiles_Subway_Red(*)
2342
+ [[
2343
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2344
+ ::anno::in_group("Tiles"),
2345
+ ::anno::display_name("Glazed Subway Tiles - Red"),
2346
+ ::anno::copyright_notice(COPYRIGHT),
2347
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Red.png"),
2348
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "red", "warm", "saturated")),
2349
+ ::anno::author("NVIDIA vMaterials"),
2350
+ ::anno::contributor("Ruediger Raab"),
2351
+ ::anno::contributor("Maik Rohland")
2352
+ ]] = Ceramic_Tiles_Glazed_Subway(
2353
+ tiles_random_seed: 0,
2354
+ tiles_color_1: color(0.327778f, 0.021219f, 0.020289f),
2355
+ tiles_color_2: color(0.327778f, 0.021219f, 0.017642f),
2356
+ tiles_color_3: color(0.274677f, 0.018500f, 0.017642f),
2357
+ tiles_random_brightness: 0.015f,
2358
+ tiles_roughness: 0.039f,
2359
+ tiles_roughness_range: 0.003f,
2360
+ tiles_random_slope_orientation: 0.04f,
2361
+ glazing_orange_peel_bump: 0.03f,
2362
+ glazing_edgefade_weight: 0.00f,
2363
+ glazing_edgefade_randomness: 0.00f,
2364
+ glazing_craquelure_weight: 0.00f,
2365
+ drops_amount: 0.00f,
2366
+ grout_brightness: 0.70f,
2367
+ grout_height: 0.01f,
2368
+ grout_scale: 0.30f,
2369
+ tiles_bump_strength: 1.00f,
2370
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2371
+ dirt_weight: 0.0f,
2372
+ texture_translate: float2(0.0f),
2373
+ texture_rotate: 0.00f,
2374
+ texture_scale: float2(1.00f),
2375
+ tiles_rotate: 0.00f,
2376
+ tiles_random_rotation: 0.00f,
2377
+ tiles_scale: 0.50f,
2378
+ tiles_random_scale: 0.00f,
2379
+ glazing_varying_thickness_weight:0.00f,
2380
+ glazing_orangepeel_size: 0.05f,
2381
+ glazing_orangepeel_noise_levels:4,
2382
+ grout_roughness: 0.8f,
2383
+ grout_softness: 0.02f,
2384
+ grout_bump_strength: 1.0f,
2385
+ ao_amount: 0.3f,
2386
+ uv_space_index: 0
2387
+ );
2388
+
2389
+
2390
+ export material Ceramic_Tiles_Subway_Red_Varied(*)
2391
+ [[
2392
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2393
+ ::anno::in_group("Tiles"),
2394
+ ::anno::display_name("Glazed Subway Tiles - Red Varied"),
2395
+ ::anno::copyright_notice(COPYRIGHT),
2396
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Red_Varied.png"),
2397
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "red", "warm", "saturated", "random")),
2398
+ ::anno::author("NVIDIA vMaterials"),
2399
+ ::anno::contributor("Ruediger Raab"),
2400
+ ::anno::contributor("Maik Rohland")
2401
+ ]] = Ceramic_Tiles_Glazed_Subway(
2402
+ tiles_random_seed: 9,
2403
+ tiles_color_1: color(0.327778f, 0.021219f, 0.020289f),
2404
+ tiles_color_2: color(0.327778f, 0.021219f, 0.017642f),
2405
+ tiles_color_3: color(0.274677f, 0.018500f, 0.017642f),
2406
+ tiles_random_brightness: 0.55f,
2407
+ tiles_roughness: 0.039f,
2408
+ tiles_roughness_range: 0.003f,
2409
+ tiles_random_slope_orientation: 0.04f,
2410
+ glazing_orange_peel_bump: 0.03f,
2411
+ glazing_edgefade_weight: 0.00f,
2412
+ glazing_edgefade_randomness: 0.00f,
2413
+ glazing_craquelure_weight: 0.00f,
2414
+ drops_amount: 0.00f,
2415
+ grout_brightness: 0.70f,
2416
+ grout_height: 0.01f,
2417
+ grout_scale: 0.30f,
2418
+ tiles_bump_strength: 1.00f,
2419
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2420
+ dirt_weight: 0.0f,
2421
+ texture_translate: float2(0.0f),
2422
+ texture_rotate: 0.00f,
2423
+ texture_scale: float2(1.00f),
2424
+ tiles_rotate: 0.00f,
2425
+ tiles_random_rotation: 0.00f,
2426
+ tiles_scale: 0.50f,
2427
+ tiles_random_scale: 0.00f,
2428
+ glazing_varying_thickness_weight:0.00f,
2429
+ glazing_orangepeel_size: 0.05f,
2430
+ glazing_orangepeel_noise_levels:4,
2431
+ grout_roughness: 0.8f,
2432
+ grout_softness: 0.02f,
2433
+ grout_bump_strength: 1.0f,
2434
+ ao_amount: 0.3f,
2435
+ uv_space_index: 0
2436
+ );
2437
+
2438
+
2439
+ export material Ceramic_Tiles_Subway_Cappucino(*)
2440
+ [[
2441
+ ::anno::description("Glazed ceramic tiles material with tweakable tile color, grout and glazing."),
2442
+ ::anno::in_group("Tiles"),
2443
+ ::anno::display_name("Glazed Subway Tiles - Cappucino"),
2444
+ ::anno::copyright_notice(COPYRIGHT),
2445
+ ::anno::thumbnail("./.thumbs/Ceramic_Tiles_Glazed_Subway.Ceramic_Tiles_Subway_Cappucino.png"),
2446
+ ::anno::key_words(string[]("tiles", "tiled", "ceramic", "glazed", "bathroom", "sanitary", "kitchen", "wall", "interior", "architecture", "rectangular", "offset", "new", "shiny", "brown")),
2447
+ ::anno::author("NVIDIA vMaterials"),
2448
+ ::anno::contributor("Ruediger Raab"),
2449
+ ::anno::contributor("Maik Rohland")
2450
+ ]] = Ceramic_Tiles_Glazed_Subway(
2451
+ tiles_random_seed: 0,
2452
+ tiles_color_1: color(0.465f, 0.344f, 0.272f),
2453
+ tiles_color_2: color(0.437f, 0.334f, 0.267f),
2454
+ tiles_color_3: color(0.494f, 0.384f, 0.298f),
2455
+ tiles_random_brightness: 0.02f,
2456
+ tiles_roughness: 0.039f,
2457
+ tiles_roughness_range: 0.003f,
2458
+ tiles_random_slope_orientation: 0.04f,
2459
+ glazing_orange_peel_bump: 0.03f,
2460
+ glazing_edgefade_weight: 0.00f,
2461
+ glazing_edgefade_randomness: 0.00f,
2462
+ glazing_craquelure_weight: 0.00f,
2463
+ drops_amount: 0.00f,
2464
+ grout_brightness: 0.70f,
2465
+ grout_height: 0.01f,
2466
+ grout_scale: 0.30f,
2467
+ tiles_bump_strength: 1.00f,
2468
+ dirt_color: color(0.0582f, 0.037f, 0.0265f),
2469
+ dirt_weight: 0.0f,
2470
+ texture_translate: float2(0.0f),
2471
+ texture_rotate: 0.00f,
2472
+ texture_scale: float2(1.00f),
2473
+ tiles_rotate: 0.00f,
2474
+ tiles_random_rotation: 0.00f,
2475
+ tiles_scale: 0.50f,
2476
+ tiles_random_scale: 0.00f,
2477
+ glazing_varying_thickness_weight:0.00f,
2478
+ glazing_orangepeel_size: 0.05f,
2479
+ glazing_orangepeel_noise_levels:4,
2480
+ grout_roughness: 0.8f,
2481
+ grout_softness: 0.02f,
2482
+ grout_bump_strength: 1.0f,
2483
+ ao_amount: 0.3f,
2484
+ uv_space_index: 0
2485
+ );
code/third_party/vMaterials_2/Ceramic/Ceramic_Tiles_Glazed_Versailles.mdl ADDED
The diff for this file is too large to render. See raw diff
 
code/third_party/vMaterials_2/Ceramic/Grog_Fired_Clay.mdl ADDED
@@ -0,0 +1,446 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******************************************************************************
2
+ * Copyright 2024 NVIDIA Corporation. All rights reserved. *
3
+ ******************************************************************************
4
+
5
+ Permission is hereby granted by NVIDIA Corporation ("NVIDIA"), free of charge,
6
+ to any person obtaining a copy of the sample definition code that uses our
7
+ Material Definition Language (the "MDL Materials"), to reproduce and distribute
8
+ the MDL Materials, including without limitation the rights to use, copy, merge,
9
+ publish, distribute, and sell modified and unmodified copies of the MDL
10
+ Materials, and to permit persons to whom the MDL Materials is furnished to do
11
+ so, in all cases solely for use with NVIDIA's Material Definition Language,
12
+ subject to the following further conditions:
13
+
14
+ 1. The above copyright notices, this list of conditions, and the disclaimer
15
+ that follows shall be retained in all copies of one or more of the MDL
16
+ Materials, including in any software with which the MDL Materials are bundled,
17
+ redistributed, and/or sold, and included either as stand-alone text files,
18
+ human-readable headers or in the appropriate machine-readable metadata fields
19
+ within text or binary files as long as those fields can be easily viewed by the
20
+ user, as applicable.
21
+ 2. The name of NVIDIA shall not be used to promote, endorse or advertise any
22
+ Modified Version without specific prior written permission, except a) to comply
23
+ with the notice requirements otherwise contained herein; or b) to acknowledge
24
+ the contribution(s) of NVIDIA.
25
+
26
+ THE MDL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
27
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
29
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR
30
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
31
+ INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
32
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
33
+ THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.
34
+ */
35
+
36
+
37
+ mdl 1.4;
38
+
39
+ import ::anno::*;
40
+ import ::base::*;
41
+ import ::df::*;
42
+ import ::math::*;
43
+ import ::state::*;
44
+ import ::tex::*;
45
+ import ::nvidia::core_definitions::blend_colors;
46
+ import ::nvidia::core_definitions::dimension;
47
+
48
+
49
+ const string COPYRIGHT =
50
+ " Copyright 2024 NVIDIA Corporation. All rights reserved.\n"
51
+ " MDL MATERIALS ARE PROVIDED PURSUANT TO AN END USER LICENSE AGREEMENT,\n"
52
+ " WHICH WAS ACCEPTED IN ORDER TO GAIN ACCESS TO THIS FILE. IN PARTICULAR,\n"
53
+ " THE MDL MATERIALS ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n"
54
+ " EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF\n"
55
+ " MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF\n"
56
+ " COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL NVIDIA\n"
57
+ " CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY\n"
58
+ " GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN\n"
59
+ " AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR\n"
60
+ " INABILITY TO USE THE MDL MATERIALS OR FROM OTHER DEALINGS IN THE MDL MATERIALS.\n";
61
+
62
+ const string DESCRIPTION = "A fired clay material with an adjustable dirt layer.";
63
+
64
+ float remap(float input, float low, float high)
65
+ {
66
+ //return low + input * (high - low);
67
+ return ::math::lerp(low, high, input);
68
+ }
69
+
70
+
71
+
72
+ float remap(float input, float low_1, float high_1, float low_2, float high_2)
73
+ {
74
+ return low_2 + ((input - low_1) * (high_2 - low_2))/(high_1 - low_1);
75
+ }
76
+
77
+
78
+ ::base::texture_coordinate_info vmat_transform(
79
+ uniform float2 translation = float2(0.0, 0.0),
80
+ uniform float rotation = 0.0,
81
+ uniform float2 scaling = float2(1.0, 1.0),
82
+ uniform ::base::texture_coordinate_system system = ::base::texture_coordinate_uvw,
83
+ uniform int uv_space = 0
84
+ )
85
+ {
86
+ float rotation_rad = (rotation * 3.1415926535897932384626433832f) / 180.f;
87
+ float4x4 scale =
88
+ float4x4(1.0 /scaling.x, 0. , 0. , 0.,
89
+ 0. , 1.0 /scaling.y , 0. , 0.,
90
+ 0. , 0. , 1.0, 0.,
91
+ translation.x , translation.y , 0.0, 1.);
92
+
93
+ float s = ::math::sin(rotation_rad);
94
+ float c = ::math::cos(rotation_rad);
95
+ float4x4 rotate =
96
+ float4x4( c , -s , 0.0 , 0.0,
97
+ s , c , 0.0 , 0.0,
98
+ 0.0, 0.0 , 1.0 , 0.0,
99
+ 0. , 0.0 , 0.0 , 1.);
100
+
101
+ return ::base::transform_coordinate(scale*rotate, ::base::coordinate_source(system, uv_space));
102
+ }
103
+
104
+
105
+
106
+ float3 srgb2rgb(float3 val)
107
+ {
108
+ return ::math::pow(::math::max(val, float3(0.0f)), 2.2);
109
+ }
110
+
111
+ float uint2float(int x)
112
+ {
113
+ return float(x & 0x7FFFFFFF) + (x < 0 ? 2147483648.0 : 0.0);
114
+ }
115
+
116
+ int lowbias32(int x)
117
+ {
118
+ x ^= x >>> 16;
119
+ x *= 0x7feb352d;
120
+ x ^= x >>> 15;
121
+ x *= 0x846ca68b;
122
+ x ^= x >>> 16;
123
+ return x;
124
+ }
125
+
126
+ float2 rnd22(int2 p) {
127
+ float2 ret_val = float2(
128
+ uint2float(lowbias32(p[0] + lowbias32(p[1]))) / 4294967296.f,
129
+ uint2float(lowbias32(p[0] + 32000 + lowbias32(p[1]))) / 4294967296.f
130
+ );
131
+ return ret_val;
132
+ }
133
+
134
+ float2x2 invert_2x2(float2x2 M)
135
+ {
136
+ float det = M[0][0]*M[1][1] - M[0][1]*M[1][0];
137
+ //https://www.chilimath.com/lessons/advanced-algebra/inverse-of-a-2x2-matrix/
138
+ return (1.0 / det) * float2x2(M[1][1], -M[0][1], -M[1][0], M[0][0]);
139
+ }
140
+
141
+ float3 nonrepeat_lookup(
142
+ uniform texture_2d texture = texture_2d(),
143
+ ::base::texture_coordinate_info uvw = ::base::coordinate_source(),
144
+ float texture_scale = 1.0,
145
+ float3 average_color = float3(0.5),
146
+ float patch_size = 8.0
147
+ )
148
+ {
149
+
150
+ float2 uv_in = float2(uvw.position[0], uvw.position[1]) * texture_scale;
151
+ float Z = patch_size; // patch scale inside example texture
152
+ float CON = 1.0f;
153
+
154
+ float3 O = float3(0.f);
155
+ float2x2 M0 = float2x2(1.f,0.f, 0.5f, ::math::sqrt(3.f)/2.f);
156
+ float2x2 M = invert_2x2(M0); // transform matrix <-> tilted space
157
+
158
+ float2 U = uv_in;
159
+ float2 V = M * uv_in; //pre-tilted hexa coordinates
160
+ int2 I = int2(::math::floor(V)); // hexa-tile id
161
+
162
+ // The mean color needs to be determined in Photoshop then to make the
163
+ // average color work out, take the float value and calculate the apropriate
164
+ // mean value as (value^(1/2.2))
165
+
166
+ float3 m = average_color;
167
+
168
+ float3 F = float3(::math::frac(V)[0], ::math::frac(V)[1], 0.f), W;
169
+ F[2] = 1.0 - F[0] - F[1]; // local hexa coordinates
170
+
171
+ if( F[2] > 0.f )
172
+
173
+ O = (W[0] = F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I))) - m*float(CON))
174
+ + (W[1] = F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0,1)))) - m*float(CON))
175
+ + (W[2] = F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1,0)))) - m*float(CON));
176
+ else
177
+ O = (W[0] = -F[2]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1)))) - m*float(CON))
178
+ + (W[1] = 1.f - F[1]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(1, 0)))) - m*float(CON))
179
+ + (W[2] = 1.f - F[0]) * (( ::tex::lookup_float3(texture, U/Z-rnd22(I+int2(0, 1)))) - m*float(CON));
180
+ O = m + O/::math::length(W);
181
+ O = ::math::clamp( (O), 0.0, 1.0);
182
+
183
+ return float3(O);
184
+ }
185
+
186
+ float3 normalmap_normal(
187
+ uniform texture_2d texture,
188
+ float factor = 1.0,
189
+ ::base::texture_coordinate_info uvw = ::base::texture_coordinate_info()
190
+ )
191
+ {
192
+ float3 lookup = (::tex::lookup_float3(texture, float2(uvw.position.x, uvw.position.y)) - 0.5) * (factor * 2.0);
193
+ return ::math::normalize(uvw.tangent_u * lookup.x + uvw.tangent_v * lookup.y + ::state::normal());
194
+ }
195
+
196
+ float histogram_range(float input, float range, float position)
197
+ {
198
+ float low = ::math::clamp(1.0 - ::math::min(((1.0 - position) + range * 0.5), (1.0 - position) * 2), 0.0, 1.0);
199
+ float high = ::math::clamp(::math::min((position + range * 0.5 ), position * 2.0), 0.0, 1.0);
200
+ return ::math::lerp(low, high, input);
201
+ }
202
+
203
+ float remap_xy_to_0_1(float input, float x, float y)
204
+ {
205
+ return (input - x)/(y - x);
206
+ }
207
+
208
+ float histogram_scan_big(float input, float width, float position)
209
+ {
210
+ return ::math::clamp(
211
+ remap_xy_to_0_1(input,
212
+ ::math::lerp(-width, 1.0, position),
213
+ ::math::lerp(0.0, 1.0 + width, position)),
214
+ 0.0,
215
+ 1.0);
216
+ }
217
+
218
+
219
+
220
+ color endless_texture(
221
+ uniform texture_2d texture = texture_2d(),
222
+ ::base::texture_coordinate_info uvw = ::base::coordinate_source(),
223
+ float texture_scale = 10.0,
224
+ float3 average_color = float3(0.5, 0.5, 1.0),
225
+ float patch_size = 8.0,
226
+ bool gamma_correct_lookup = true
227
+ )
228
+ {
229
+ return gamma_correct_lookup ? color(srgb2rgb(
230
+ nonrepeat_lookup (
231
+ texture: texture,
232
+ uvw: uvw,
233
+ texture_scale: texture_scale,
234
+ average_color: average_color,
235
+ patch_size: patch_size
236
+ ))
237
+ ) : color(nonrepeat_lookup (
238
+ texture: texture,
239
+ uvw: uvw,
240
+ texture_scale: texture_scale,
241
+ average_color: average_color,
242
+ patch_size: patch_size
243
+ ));
244
+ }
245
+
246
+ float3 endless_normal(
247
+ uniform texture_2d texture = texture_2d(),
248
+ float factor = 1.0,
249
+ bool flip_tangent_u = false,
250
+ bool flip_tangent_v = false,
251
+ ::base::texture_coordinate_info uvw = ::base::coordinate_source(),
252
+ float texture_scale = 1.0,
253
+ float3 average_color = float3(0.5, 0.5, 1.0),
254
+ float patch_size = 8.0
255
+ )
256
+ {
257
+ float3 transformed_tangent_u = flip_tangent_u ? uvw.tangent_u : - uvw.tangent_u;
258
+ float3 transformed_tangent_v = flip_tangent_v ? uvw.tangent_v : - uvw.tangent_v;
259
+
260
+ if (flip_tangent_u)
261
+ transformed_tangent_u=-transformed_tangent_u;
262
+ if (flip_tangent_v)
263
+ transformed_tangent_v=-transformed_tangent_v;
264
+
265
+ // normalized Lookup
266
+ float3 tangent_space_normal =
267
+ (nonrepeat_lookup (
268
+ texture: texture,
269
+ uvw: uvw,
270
+ texture_scale: texture_scale,
271
+ average_color: average_color,
272
+ patch_size: patch_size
273
+ ) - 0.5) * (2.0 * factor);
274
+
275
+ return ::math::normalize(uvw.tangent_u * tangent_space_normal.x +
276
+ uvw.tangent_v * tangent_space_normal.y +
277
+ ::state::normal()*1.0);
278
+ }
279
+
280
+ export material Grog_Fired_Clay(
281
+ uniform bool infinite_tiling = true [[
282
+ ::anno::description("Enables infinite tiling feature which removes repeating texture patterns. Note that depending on the material this feature changes the appearance of the material slightly."),
283
+ ::anno::display_name("Infinite Tiling"),
284
+ ::anno::in_group("Appearance")
285
+ ]],
286
+ float patch_size = 0.8f [[
287
+ ::anno::description("Determines the size of the sampled area in the texture. Larger values sample smaller areas, resulting in a more fragmented look of the source texture. Tweak the value so that the appearance of the infinite tiling looks good to you."),
288
+ ::anno::display_name("Patch Size"),
289
+ ::anno::in_group("Appearance"),
290
+ ::anno::hard_range(0.f, 1.f)
291
+ ]],
292
+ float diffuse_brightness = 0.5f [[
293
+ ::anno::description("Adjusts the lightness of the material."),
294
+ ::anno::display_name("Brightness"),
295
+ ::anno::in_group("Appearance"),
296
+ ::anno::hard_range(0.f, 1.f)
297
+ ]],
298
+ float roughness = 0.5f [[
299
+ ::anno::description("Higher roughness values lead to bigger highlights and blurrier reflections."),
300
+ ::anno::display_name("Roughness"),
301
+ ::anno::in_group("Appearance"),
302
+ ::anno::hard_range(0.f, 1.f)
303
+ ]],
304
+ float dirt = 0.f [[
305
+ ::anno::description("Adds dirt aggregations in the dimples of the wall."),
306
+ ::anno::display_name("Dirt"),
307
+ ::anno::in_group("Appearance"),
308
+ ::anno::hard_range(0.f, 1.f)
309
+ ]],
310
+ float bump_strength = 1.f [[
311
+ ::anno::description("Specifies the strength of the bump."),
312
+ ::anno::display_name("Bump Strength"),
313
+ ::anno::in_group("Appearance"),
314
+ ::anno::hard_range(0.f, 1.f)
315
+ ]],
316
+ uniform float2 texture_translate = float2(0.381000012f, 0.73300004f) [[
317
+ ::anno::description("Controls the position of the texture."),
318
+ ::anno::display_name("Translate"),
319
+ ::anno::in_group("Transform")
320
+ ]],
321
+ uniform float texture_rotate = 0.f [[
322
+ ::anno::description("Rotates angle of the texture in degrees."),
323
+ ::anno::display_name("Rotate"),
324
+ ::anno::in_group("Transform")
325
+ ]],
326
+ uniform float2 texture_scale = float2(1.f) [[
327
+ ::anno::description("Larger numbers increase the size."),
328
+ ::anno::display_name("Scale"),
329
+ ::nvidia::core_definitions::dimension(float2(0.17f, 0.17f)),
330
+ ::anno::in_group("Transform")
331
+ ]],
332
+ uniform bool enable_round_corners = false [[
333
+ ::anno::description("Enables the round corner effect. Comes at a slight performance cost as additional raytracing calls are required to evaluate the round corner effect."),
334
+ ::anno::display_name("Enable Round Corners"),
335
+ ::anno::in_group("Round Corners")
336
+ ]],
337
+ uniform float radius_mm = 0.f [[
338
+ ::anno::description("Radius of the rounded corners."),
339
+ ::anno::display_name("Round Corner Radius (mm)"),
340
+ ::anno::in_group("Round Corners")
341
+ ]],
342
+ uniform bool across_materials = true [[
343
+ ::anno::description("Applies the round corner effect across different materials when enabled."),
344
+ ::anno::display_name("Across Materials"),
345
+ ::anno::in_group("Round Corners")
346
+ ]],
347
+ uniform int uv_space_index = 0 [[
348
+ ::anno::description("Use selected UV space for material."),
349
+ ::anno::display_name("UV Space Index"),
350
+ ::anno::in_group("Advanced")
351
+ ]]
352
+ )
353
+ [[
354
+ ::anno::author("NVIDIA vMaterials"),
355
+ ::anno::display_name("Fired Clay - New"),
356
+ ::anno::description(DESCRIPTION),
357
+ ::anno::copyright_notice(COPYRIGHT),
358
+ ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay.png"),
359
+ ::anno::key_words(string[]("clay", "infinite tiling", "new", "natural", "design", "rough", "bumped", "brown"))
360
+ ]]
361
+ =
362
+ let {
363
+ material_surface mat_bsdf(
364
+ ::df::weighted_layer(histogram_range(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[2], 1.f, ::math::lerp(1.f, 0.583000004f, dirt)), ::df::custom_curve_layer(0.0199999996f, 1.f, 5.f, 1.f, ::df::microfacet_ggx_smith_bsdf(::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f) * ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f), ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f) * ::math::clamp(remap(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[0], 0.605000019f, 0.781000018f, ::math::lerp(0.0500000007f, 0.649999976f, roughness), ::math::lerp(0.400000006f, 0.899999976f, roughness)), 0.f, 1.f), color(1.f, 1.f, 1.f), ::state::texture_tangent_u(0), ::df::scatter_reflect, ""), ::df::weighted_layer(1.f, ::df::diffuse_reflection_bsdf(::nvidia::core_definitions::blend_colors(color(0.050875999f, 0.0226240009f, 0.00489600003f), ::nvidia::core_definitions::blend_colors(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_fired_clay_diff.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.68599999f, 0.549000025f, 0.458999991f), ::math::lerp(30.f, 0.100000001f, patch_size), true) : ::base::file_texture(texture_2d("./textures/fired_clay_fired_clay_diff.jpg", ::tex::gamma_srgb), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint, color(0.f, 0.f, 0.f), ::base::color_layer_multiply, ::math::lerp(0.349999994f, 0.f, diffuse_brightness)).tint, ::base::color_layer_blend, remap(histogram_scan_big(float3(infinite_tiling ? endless_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.749000013f, 0.944999993f, 0.718999982f), ::math::lerp(30.f, 0.100000001f, patch_size), false) : ::base::file_texture(texture_2d("./textures/fired_clay_multi_R_rough_G_ao_B_dirt.jpg", ::tex::gamma_linear), color(0.f, 0.f, 0.f), color(1.f, 1.f, 1.f), ::base::mono_alpha, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), float2(0.f, 1.f), float2(0.f, 1.f), ::tex::wrap_repeat, ::tex::wrap_repeat, false).tint)[1], 0.235000014f, ::math::lerp(0.400000006f, 0.75f, dirt)), 0.258000016f, 1.f)).tint, ::math::lerp(0.f, 0.564999998f, roughness), ""), bsdf(), infinite_tiling ? endless_normal(texture_2d("./textures/fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(30.f, 0.100000001f, patch_size)) : normalmap_normal(texture_2d("./textures/fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), infinite_tiling ? endless_normal(texture_2d("./textures/fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, false, false, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index), ::math::lerp(30.f, 0.100000001f, patch_size), float3(0.5f, 0.5f, 1.f), ::math::lerp(30.f, 0.100000001f, patch_size)) : normalmap_normal(texture_2d("./textures/fired_clay_fired_clay_norm.jpg", ::tex::gamma_linear), bump_strength, vmat_transform(texture_translate, texture_rotate, texture_scale, ::base::texture_coordinate_uvw, uv_space_index))), ::df::diffuse_reflection_bsdf(color(0.0331050009f, 0.0240330007f, 0.0201050006f), 0.654000044f, ""), ::state::normal()),
365
+ material_emission(emission: edf(), intensity: color(0.f, 0.f, 0.f), mode: intensity_radiant_exitance));
366
+ color tmp3 = color(1.f, 1.f, 1.f);
367
+ material_geometry geom(
368
+ float3(0.f),
369
+ 1.f,
370
+ enable_round_corners ? ::state::rounded_corner_normal(radius_mm * 0.001f, across_materials, 1.f) : ::state::normal());
371
+
372
+
373
+ } in
374
+ material(
375
+ thin_walled: false,
376
+ surface: mat_bsdf,
377
+ ior: tmp3,
378
+ geometry: geom);
379
+
380
+
381
+ export material Grog_Fired_Clay_Glaced(*)
382
+ [[
383
+ ::anno::author("NVIDIA vMaterials"),
384
+ ::anno::display_name("Fired Clay - Glaced"),
385
+ ::anno::description(DESCRIPTION),
386
+ ::anno::copyright_notice(COPYRIGHT),
387
+ ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Glaced.png"),
388
+ ::anno::key_words(string[]("clay", "glazed", "infinite tiling", "natural", "design", "brown"))
389
+ ]] = Grog_Fired_Clay(
390
+ infinite_tiling: true,
391
+ patch_size: 0.8f,
392
+ diffuse_brightness: 0.7f,
393
+ roughness: 0.0f,
394
+ dirt: 0.0f,
395
+ bump_strength: 0.25f,
396
+ texture_translate: float2(0.0f),
397
+ texture_rotate: 0.0f,
398
+ texture_scale: float2(1.0f),
399
+ uv_space_index: 0
400
+ );
401
+
402
+
403
+
404
+ export material Grog_Fired_Clay_Dirt(*)
405
+ [[
406
+ ::anno::author("NVIDIA vMaterials"),
407
+ ::anno::display_name("Fired Clay - Dirt"),
408
+ ::anno::description(DESCRIPTION),
409
+ ::anno::copyright_notice(COPYRIGHT),
410
+ ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Dirt.png"),
411
+ ::anno::key_words(string[]("clay", "infinite tiling", "aged", "old", "dirty", "dirt", "natural", "design", "rough", "bumped", "brown"))
412
+ ]] = Grog_Fired_Clay(
413
+ infinite_tiling: true,
414
+ patch_size: 0.8f,
415
+ diffuse_brightness: 0.5f,
416
+ roughness: 0.4f,
417
+ dirt: 1.0f,
418
+ bump_strength: 1.0f,
419
+ texture_translate: float2(0.0f),
420
+ texture_rotate: 0.0f,
421
+ texture_scale: float2(1.0f),
422
+ uv_space_index: 0
423
+ );
424
+
425
+
426
+
427
+ export material Grog_Fired_Clay_Dried_Dirt(*)
428
+ [[
429
+ ::anno::author("NVIDIA vMaterials"),
430
+ ::anno::display_name("Fired Clay - Dried Dirt"),
431
+ ::anno::description(DESCRIPTION),
432
+ ::anno::copyright_notice(COPYRIGHT),
433
+ ::anno::thumbnail("./.thumbs/Grog_Fired_Clay.Grog_Fired_Clay_Dried_Dirt.png"),
434
+ ::anno::key_words(string[]("clay", "infinite tiling", "aged", "old", "dirty", "dirt", "dry", "natural", "design", "rough", "bumped", "brown"))
435
+ ]] = Grog_Fired_Clay(
436
+ infinite_tiling: true,
437
+ patch_size: 0.8f,
438
+ diffuse_brightness: 0.2f,
439
+ roughness: 0.85f,
440
+ dirt: 1.0f,
441
+ bump_strength: 1.0f,
442
+ texture_translate: float2(0.0f),
443
+ texture_rotate: 0.0f,
444
+ texture_scale: float2(1.0f),
445
+ uv_space_index: 0
446
+ );
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl.png ADDED

Git LFS Details

  • SHA256: b081d09649c71489d71b1f2964041298c633aec17bb7edf3f1ef35b0d9232fc0
  • Pointer size: 130 Bytes
  • Size of remote file: 89.6 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber.png ADDED

Git LFS Details

  • SHA256: b081d09649c71489d71b1f2964041298c633aec17bb7edf3f1ef35b0d9232fc0
  • Pointer size: 130 Bytes
  • Size of remote file: 89.6 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Aluminized.png ADDED

Git LFS Details

  • SHA256: 44a2c82cdb4f9949bbc638c7b9687faf5f1102a8fd89c0e90d41d400213fbba5
  • Pointer size: 130 Bytes
  • Size of remote file: 94.1 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Aluminized_Coated.png ADDED

Git LFS Details

  • SHA256: 190765794909650892cb3d55f941a383c8dae22861f3666b3dd8545df16606e4
  • Pointer size: 130 Bytes
  • Size of remote file: 92.8 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Dusty_Coating.png ADDED

Git LFS Details

  • SHA256: 5518a86201a2588d71dc934ab1c63c2a1488ee7a66e716977e58695644424461
  • Pointer size: 130 Bytes
  • Size of remote file: 87.5 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Matte_Coating.png ADDED

Git LFS Details

  • SHA256: 3129466a6683ff2b1d3ef2407978a45b8a7cb360b4af6b8a6fe9a8a73718e09d
  • Pointer size: 130 Bytes
  • Size of remote file: 85.3 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Matte_Uncoated.png ADDED

Git LFS Details

  • SHA256: 10599e0f8a35507e90c24e31e9365585ed4740e6b2307f91756e22e664f91a14
  • Pointer size: 130 Bytes
  • Size of remote file: 84.6 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Shiny_Coating.png ADDED

Git LFS Details

  • SHA256: 9aab62be36ad7f1e61a26cb2933e62af3361d8c521851d555c020c5446f6a182
  • Pointer size: 130 Bytes
  • Size of remote file: 87.9 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Carbon_Fiber.mdl@Carbon_Fiber_Worn_Coating.png ADDED

Git LFS Details

  • SHA256: 1f0ae513df311e7c1725a91e814b7b0c5be34efa558cdf7baba484f31292b863
  • Pointer size: 130 Bytes
  • Size of remote file: 88.9 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl.png ADDED

Git LFS Details

  • SHA256: 0392d02f12220bbd03c577b19851cfe0681e0e395b4579d03c5a76e244697d93
  • Pointer size: 131 Bytes
  • Size of remote file: 124 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass.png ADDED

Git LFS Details

  • SHA256: 0392d02f12220bbd03c577b19851cfe0681e0e395b4579d03c5a76e244697d93
  • Pointer size: 131 Bytes
  • Size of remote file: 124 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Blueish.png ADDED

Git LFS Details

  • SHA256: 82968bd26276fdea08c1cce1ba38eecf8ac97d3d4725e27e47bc964d9edef0cf
  • Pointer size: 131 Bytes
  • Size of remote file: 125 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Flat_Weave.png ADDED

Git LFS Details

  • SHA256: 5ec0d7b850cebfc03022c52e7df031d21f41cd28725e400036cd155901d74ebd
  • Pointer size: 131 Bytes
  • Size of remote file: 118 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Shiny.png ADDED

Git LFS Details

  • SHA256: fa13b529850103d183b37d61d26ed0c055ddb9101704b654b87a04000508e41f
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass.mdl@Fiberglass_Yellowish.png ADDED

Git LFS Details

  • SHA256: 44493f59bc56901a5519fec126973ef479411cfd1a8532113a11ad4523323000
  • Pointer size: 131 Bytes
  • Size of remote file: 129 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl.png ADDED

Git LFS Details

  • SHA256: dae6ed1107b01478aec77ec2114daeef4283b5890db2be5db2a3d7bde48a8dc7
  • Pointer size: 131 Bytes
  • Size of remote file: 136 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Bumpy_Imperfections.png ADDED

Git LFS Details

  • SHA256: e5f47abf31a56b671a52c65d0c5b16463b781e20dd2ad6511069f74945e37f90
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Imperfections.png ADDED

Git LFS Details

  • SHA256: dae6ed1107b01478aec77ec2114daeef4283b5890db2be5db2a3d7bde48a8dc7
  • Pointer size: 131 Bytes
  • Size of remote file: 136 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Torn_Imperfections.png ADDED

Git LFS Details

  • SHA256: 4f7f032328dac0d207a5e52095ab686cceae03db4824a97197a39164349611ee
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
code/third_party/vMaterials_2/Composite/.thumbs/256x256/Fiberglass_Imperfections.mdl@Fiberglass_Warped_Imperfections.png ADDED

Git LFS Details

  • SHA256: e7f0b0dfe14c1b4ee88e342c0fb6f4fa5a273f6c226f984008a1f76345f71934
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber.png ADDED

Git LFS Details

  • SHA256: 51e63ddc6f0754c023dec0c6b95dc6643684a8b0288b92aac90c364309adc89f
  • Pointer size: 130 Bytes
  • Size of remote file: 91.4 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Aluminized.png ADDED

Git LFS Details

  • SHA256: 2f149d406edbdd44b5b202f958503b111d5382064d8ee8349723b6a3269280bd
  • Pointer size: 130 Bytes
  • Size of remote file: 96.6 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Aluminized_Coated.png ADDED

Git LFS Details

  • SHA256: 137c1f91d8b965f78bff35af5cb25440f6c0ae8a84935c9615abdb6fdf1e8738
  • Pointer size: 130 Bytes
  • Size of remote file: 96.5 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Dusty_Coating.png ADDED

Git LFS Details

  • SHA256: 32380878f9c45ed4f6e67c833559c4b9a651d87658432f0c1942190e23f127bb
  • Pointer size: 130 Bytes
  • Size of remote file: 91.2 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Matte_Coating.png ADDED

Git LFS Details

  • SHA256: e4ca9dde1146bd7e45a2b264f5829966474e4a813846946be854406e1cd66a67
  • Pointer size: 130 Bytes
  • Size of remote file: 90.3 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Matte_Uncoated.png ADDED

Git LFS Details

  • SHA256: 4464e32f54967818a63728b2e96b722b759c1ce37853cc1aae7e1ab8119d60a4
  • Pointer size: 130 Bytes
  • Size of remote file: 88.8 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Shiny_Coating.png ADDED

Git LFS Details

  • SHA256: affd5cf2737f18d3afb4152f34a855538cbe14fc6b12512a77d3012dd1782d3c
  • Pointer size: 130 Bytes
  • Size of remote file: 91.6 kB
code/third_party/vMaterials_2/Composite/.thumbs/Carbon_Fiber.Carbon_Fiber_Worn_Coating.png ADDED

Git LFS Details

  • SHA256: 6f48485ee4deb553e4d87aa18ece2fbf03545bb5668bdf7c8da178d78d83befe
  • Pointer size: 130 Bytes
  • Size of remote file: 91.5 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass.png ADDED

Git LFS Details

  • SHA256: 2298c48c4301915f07c2681b9c3647ae2e9dbf3a86ebb6d36dfc28fe1309921e
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Blueish.png ADDED

Git LFS Details

  • SHA256: c3195c6525ca32bfa92eaee1a74983c216a0861b60d5f9388776f03f4596af7c
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Flat_Weave.png ADDED

Git LFS Details

  • SHA256: 92c36f0c424d1e78890b9aab5e208ddc026277a3d4922b8ff59f59de8c0a3c84
  • Pointer size: 131 Bytes
  • Size of remote file: 111 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Shiny.png ADDED

Git LFS Details

  • SHA256: 502d2a5031464ef5a0131600e7ea211b28a129832d71420348828ba82571b3e0
  • Pointer size: 131 Bytes
  • Size of remote file: 115 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass.Fiberglass_Yellowish.png ADDED

Git LFS Details

  • SHA256: ba029a3babe71246f8dc2ae2401e8d85a2f3afc1693f099d0142143cd1840971
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Bumpy_Imperfections.png ADDED

Git LFS Details

  • SHA256: 3dcf54a2913f8769173f7c665a36e03cbd3c3647572e465b3774b205b80a3424
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Imperfections.png ADDED

Git LFS Details

  • SHA256: 4a13d14a75bdbd3412d77f593f3bf3273052c30fd84b2c17a243d9c465364341
  • Pointer size: 131 Bytes
  • Size of remote file: 104 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Torn_Imperfections.png ADDED

Git LFS Details

  • SHA256: 2e14d726d06a6e6f6e8ca37293f5b5bdd260e316c96cb73d300b9f70b3871bfd
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
code/third_party/vMaterials_2/Composite/.thumbs/Fiberglass_Imperfections.Fiberglass_Warped_Imperfections.png ADDED

Git LFS Details

  • SHA256: ad02093175471d85397ac4a004c43ab24675ed933533a7105d20d813ac8511d9
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
code/third_party/vMaterials_2/Composite/textures/carbon_fiber_fibers_norm.jpg ADDED

Git LFS Details

  • SHA256: f51228a9279f1f33e2c9b3fe170f64dcb00a791c56b6381299a1e7b4cca97318
  • Pointer size: 132 Bytes
  • Size of remote file: 2.87 MB
code/third_party/vMaterials_2/Composite/textures/carbon_fiber_multi_R_rough_G_cutout_B_patternA.jpg ADDED

Git LFS Details

  • SHA256: 73113466118219fca0277e2e6824ee2538de0d0b09d88457f63894d8aa0ec5f4
  • Pointer size: 132 Bytes
  • Size of remote file: 2.36 MB