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