cppctamber

Results 19 comments of cppctamber

Testing a simple extension for quad v5 shaders: Mode 1: Unique colours for each material and pattern layer ![image](https://user-images.githubusercontent.com/7591350/131269514-66ab3594-c065-4e24-9395-440ca74cf689.png) Mode 2: Individual layer highlighting ![image](https://user-images.githubusercontent.com/7591350/131269551-1d0fd55e-3d54-4715-872a-03c2ab989702.png)

![image](https://user-images.githubusercontent.com/7591350/130973157-7406d9f4-e49f-4dd4-94db-1e9eeb6fb12d.png) ![image](https://user-images.githubusercontent.com/7591350/130973169-82d5e693-448b-4221-8fde-b37580edefa3.png) ![image](https://user-images.githubusercontent.com/7591350/130973185-0235c647-00bd-4d76-aaba-36323380bcf1.png) ![image](https://user-images.githubusercontent.com/7591350/130973199-e5091899-4a23-4961-93ca-1d301ee097fa.png) ![image](https://user-images.githubusercontent.com/7591350/130973207-14c00537-b15a-4bab-91b7-a566d10a76c3.png) ![image](https://user-images.githubusercontent.com/7591350/130973235-0d324c18-49c4-4638-aed4-7d2652d92d64.png) ![image](https://user-images.githubusercontent.com/7591350/130973284-1849d003-5165-4d80-b7d3-8544e3895b0e.png) ![image](https://user-images.githubusercontent.com/7591350/130973323-2cd2c562-4d31-45fa-936a-691ddf12699c.png) ![image](https://user-images.githubusercontent.com/7591350/130973340-c92189d7-99c6-4269-b271-da95506aa9c2.png) ![image](https://user-images.githubusercontent.com/7591350/130973354-47d918db-b1d7-4117-9ac8-977449e30149.png) ![image](https://user-images.githubusercontent.com/7591350/130973363-9d4420b1-7825-44de-95cd-f4958fabd02c.png) ![image](https://user-images.githubusercontent.com/7591350/130973380-5eb9e08e-d9a7-4811-8477-cbad36f23a09.png)

![image](https://user-images.githubusercontent.com/7591350/130973510-79a0543e-3110-47fc-9140-618dd8178a58.png) ![image](https://user-images.githubusercontent.com/7591350/130973525-5106c270-360f-4de4-8bf3-f33545c4f979.png) ![image](https://user-images.githubusercontent.com/7591350/130973546-2399dcb4-3710-4cdd-9075-26e6dc07b6eb.png) ![image](https://user-images.githubusercontent.com/7591350/130973553-2e79f15d-149f-4cf5-8ef8-ec6c2b15abaf.png) ![image](https://user-images.githubusercontent.com/7591350/130973583-579cbd2d-4241-4727-a175-89535ac999b1.png) ![image](https://user-images.githubusercontent.com/7591350/130973653-08cb7835-fc86-42b1-9991-4852adde685f.png) ![image](https://user-images.githubusercontent.com/7591350/130973640-fe3f0b04-c9a4-49de-b900-1a220c92ffcc.png) ![image](https://user-images.githubusercontent.com/7591350/130973684-5cd07da2-3f03-445a-b9da-2e9d709aedb7.png) ![image](https://user-images.githubusercontent.com/7591350/130973695-7982237d-4b65-4553-ba53-3dce4c9ff801.png)

![image](https://user-images.githubusercontent.com/7591350/130973958-69d98617-eb8d-4aca-a4a1-c9b082126d07.png) ![image](https://user-images.githubusercontent.com/7591350/130974003-4278438a-9ecf-4b9b-ac31-4a5612d68c39.png) ![image](https://user-images.githubusercontent.com/7591350/130974022-74b5beb1-b8a4-4c6a-8858-cd3e32e19045.png) ![image](https://user-images.githubusercontent.com/7591350/130974040-8941bc31-7abb-45cc-8a56-8e51f116442f.png) ![image](https://user-images.githubusercontent.com/7591350/130974054-963c92e5-ebd7-4653-9816-275d853faa23.png) ![image](https://user-images.githubusercontent.com/7591350/130974069-7768254c-297f-4450-9e0d-340f1271f9d3.png) ![image](https://user-images.githubusercontent.com/7591350/130974083-cbce4460-b7c2-4a62-ac16-5ee6e3a12ec1.png) ![image](https://user-images.githubusercontent.com/7591350/130974101-4459d6fe-6a18-40ba-bbb9-1a24853314ca.png) ![image](https://user-images.githubusercontent.com/7591350/130974115-79d1fad5-1ea8-434b-965d-3acdfb291f74.png) ![image](https://user-images.githubusercontent.com/7591350/130974182-58f46c8d-e6bd-4e89-bca2-7c370074c6ae.png) ![image](https://user-images.githubusercontent.com/7591350/130974161-c5e995ed-f070-4f6f-ae82-3f44bc27ab4a.png) ![image](https://user-images.githubusercontent.com/7591350/130974196-deb7a80d-e97a-4224-b01b-d851d7a22081.png) ![image](https://user-images.githubusercontent.com/7591350/130974218-7b1f52ab-91ec-4400-92b7-ca379a77e72c.png)

![image](https://user-images.githubusercontent.com/7591350/130974345-8c9764e3-1827-4546-8bf3-dc0a0b93bcae.png) ![image](https://user-images.githubusercontent.com/7591350/130974356-fec0a713-04d6-46bc-8d7b-cf8879536fb1.png) ![image](https://user-images.githubusercontent.com/7591350/130974366-3aae2983-eaab-4870-8850-0db362460950.png) ![image](https://user-images.githubusercontent.com/7591350/130974376-b986cf3f-0098-42a3-b93d-5a8cd0e58078.png) ![image](https://user-images.githubusercontent.com/7591350/130974387-5db08eab-1018-48ed-853e-990cc23698ff.png) ![image](https://user-images.githubusercontent.com/7591350/130974412-6a60c08a-8314-4a2e-8b8c-885ab1e245a3.png) ![image](https://user-images.githubusercontent.com/7591350/130974428-4eb3951c-cb06-4a5b-8d31-1158c3f516ae.png) ![image](https://user-images.githubusercontent.com/7591350/130974442-33dea9dc-428e-4e5b-b32e-708251ac3186.png) ![image](https://user-images.githubusercontent.com/7591350/130974455-a5cfa3c9-4412-4b3f-b92b-e8f17e4b3d34.png) ![image](https://user-images.githubusercontent.com/7591350/130974471-43b95fe5-e5ae-4536-92f0-1d29be4b28b3.png) ![image](https://user-images.githubusercontent.com/7591350/130974489-1174362e-4984-4e75-9308-ca44ca5e91a1.png) ![image](https://user-images.githubusercontent.com/7591350/130974510-c3d0d2c5-b973-4dfe-81b2-8bfdbf2a1c35.png) ![image](https://user-images.githubusercontent.com/7591350/130974553-4f4f87d3-2ce2-434e-8395-5266b471203a.png) ![image](https://user-images.githubusercontent.com/7591350/130974560-a9db44f5-d49d-4c86-bdf7-7b97a02ab400.png) ![image](https://user-images.githubusercontent.com/7591350/130974578-d4c18704-3bda-43b2-b571-581d08309d11.png) ![image](https://user-images.githubusercontent.com/7591350/130974605-bec80bd5-6300-4831-9b56-e28cdf6fc06c.png) ![image](https://user-images.githubusercontent.com/7591350/130974618-9f8af9f2-3b34-40d1-90a9-0a75d33ffeda.png) ![image](https://user-images.githubusercontent.com/7591350/130974634-ffb4bff7-a4bc-410d-b2a0-d362c09c0bbf.png) ![image](https://user-images.githubusercontent.com/7591350/130974643-e7457fff-5e02-4bec-b579-55978e1b80c5.png) ![image](https://user-images.githubusercontent.com/7591350/130974680-3fbf3ff8-ffc2-4277-9c9d-777c746629a7.png)

![image](https://user-images.githubusercontent.com/7591350/130974741-8be7ec46-2bba-464d-a059-eb79966088fe.png) ![image](https://user-images.githubusercontent.com/7591350/130974788-398548cd-9f08-44cb-8986-c701679aa11f.png) ![image](https://user-images.githubusercontent.com/7591350/130974812-5788a3bf-a19b-480c-a463-6e14092f437f.png) ![image](https://user-images.githubusercontent.com/7591350/130974832-cdac8de2-1042-4a32-a562-816b588e5fac.png) ![image](https://user-images.githubusercontent.com/7591350/130974849-d96a80ff-e08d-470b-81e1-501ac2ca447b.png) ![image](https://user-images.githubusercontent.com/7591350/130975084-a495d968-2606-45a7-ae14-3231ba5fe511.png) ![image](https://user-images.githubusercontent.com/7591350/130975054-a6be7059-87b3-400e-8e4e-2d73658a7a15.png) ![image](https://user-images.githubusercontent.com/7591350/130975132-414b089f-4470-4a8d-aa67-e0ddd0b31cde.png) ![image](https://user-images.githubusercontent.com/7591350/130975108-df8d42da-68b6-49b9-84f2-fa15f74048da.png) ![image](https://user-images.githubusercontent.com/7591350/130975153-9395bda2-9af6-4d45-a5f8-f1bf660f393d.png) ![image](https://user-images.githubusercontent.com/7591350/130975169-061593ce-5e23-45f6-9a59-2bcc2df65b85.png) ![image](https://user-images.githubusercontent.com/7591350/130975195-e1b6b14f-8eb8-4843-b31a-a9a4b757b6ce.png) ![image](https://user-images.githubusercontent.com/7591350/130975211-e61edb8a-fb34-4fa3-9d7e-122b0f29c5a3.png) ![image](https://user-images.githubusercontent.com/7591350/130975229-44b240f1-c34f-4545-86e8-8a815584544c.png) ![image](https://user-images.githubusercontent.com/7591350/130975249-72d776b7-1336-44dc-b5b5-33918c72c3b8.png) ![image](https://user-images.githubusercontent.com/7591350/130975261-3c1d17bd-aaeb-44d4-89bc-9c0a2f1b0267.png)

![image](https://user-images.githubusercontent.com/7591350/130975312-5da24d2d-8308-40de-8522-eae41b3815c4.png) ![image](https://user-images.githubusercontent.com/7591350/130975345-8877f2f6-9c83-4e14-bf5b-7597bdef0341.png) ![image](https://user-images.githubusercontent.com/7591350/130975361-0854da04-5bb1-49b3-8cbb-be21b1b3b3a8.png) ![image](https://user-images.githubusercontent.com/7591350/130975380-9d59edbf-4baa-45bc-92b3-999bf8d98907.png) ![image](https://user-images.githubusercontent.com/7591350/130975390-a1be7c46-b5d0-4b04-af59-03f687a1509f.png) ![image](https://user-images.githubusercontent.com/7591350/130975406-14040ff4-56e6-4636-93a1-5ba7501e9b8d.png) ![image](https://user-images.githubusercontent.com/7591350/130975469-e7b35c85-853f-4390-9576-d109c81d69f9.png) ![image](https://user-images.githubusercontent.com/7591350/130975505-4fc38016-ab07-4bce-bd02-715dd5c1fa15.png) ![image](https://user-images.githubusercontent.com/7591350/130975525-12752c13-5451-4870-9be8-864746379be7.png) ![image](https://user-images.githubusercontent.com/7591350/130975585-1e48bc94-0381-409a-ab7e-af1d8ca0a1a0.png) ![image](https://user-images.githubusercontent.com/7591350/130975597-37dd9f2e-0937-4b61-8f94-7b66d5bc6377.png) ![image](https://user-images.githubusercontent.com/7591350/130975566-67b6b2f5-1479-431d-9e8c-cd1e64e5628c.png) ![image](https://user-images.githubusercontent.com/7591350/130975612-88147b86-f767-475f-b14f-8c450d811665.png) ![image](https://user-images.githubusercontent.com/7591350/130975643-1288b0ff-431e-464c-bd21-0cf47af95370.png) ![image](https://user-images.githubusercontent.com/7591350/130975670-600bd0b6-b550-40bc-a2a1-f7ea6fc36fdf.png) ![image](https://user-images.githubusercontent.com/7591350/130975691-f05feef5-6a63-4652-8117-f7d22b551bf2.png) ![image](https://user-images.githubusercontent.com/7591350/130975713-ce15275f-f97e-4362-8363-949236967b0d.png) ![image](https://user-images.githubusercontent.com/7591350/130975732-aa5fde11-2fc8-4459-8fa6-0421a086c504.png) ![image](https://user-images.githubusercontent.com/7591350/130975760-bea3f73c-4ca8-4c02-8754-d40a991f95eb.png) ![image](https://user-images.githubusercontent.com/7591350/130975770-f47d930f-3374-46e0-966f-32020a0206a1.png) ![image](https://user-images.githubusercontent.com/7591350/130975788-feb8a933-c8d5-4441-8ba7-18ecd04a439f.png) ![image](https://user-images.githubusercontent.com/7591350/130975802-7ae68995-5208-4d5c-b66f-c55ce4db5aa7.png) ![image](https://user-images.githubusercontent.com/7591350/130975815-1c77cbd8-64d0-4b21-8bab-961b5b377f20.png) ![image](https://user-images.githubusercontent.com/7591350/130975840-54638b3c-a2f6-41ec-b375-cae38956876a.png) ![image](https://user-images.githubusercontent.com/7591350/130975847-9d7f0a78-5869-4583-baa5-079c214e31bd.png) ![image](https://user-images.githubusercontent.com/7591350/130975863-ff77557a-72d3-4fdb-b799-d3472bbc5a8e.png) ![image](https://user-images.githubusercontent.com/7591350/130975893-cc62b3ba-3df9-4856-928c-f61e3b2e2e4d.png) ![image](https://user-images.githubusercontent.com/7591350/130975927-287bdf2f-f60d-4deb-a0c5-7f3de5658c7a.png)

![image](https://user-images.githubusercontent.com/7591350/130975984-c05c84f8-52b5-4a8f-907b-4138611f1d10.png) ![image](https://user-images.githubusercontent.com/7591350/130975994-31a35808-68cb-4a83-8981-457aba4e624c.png) ![image](https://user-images.githubusercontent.com/7591350/130976008-2bb692b6-9d56-4a49-bcfc-4c1b0c57f17d.png) ![image](https://user-images.githubusercontent.com/7591350/130976023-ff5416ac-202d-4bee-99bc-49e6f5ff1de2.png) ![image](https://user-images.githubusercontent.com/7591350/130976032-ae55fad1-d990-4c70-8e2a-61b65d3c44ea.png) ![image](https://user-images.githubusercontent.com/7591350/130976053-f584559d-8190-40ab-8526-059fd3585b33.png) ![image](https://user-images.githubusercontent.com/7591350/130976075-ef194d5f-ff2e-4356-8492-6fc5c37f921e.png) ![image](https://user-images.githubusercontent.com/7591350/130976095-0774bb9f-a8d3-4036-a5b0-86f68d135c48.png) ![image](https://user-images.githubusercontent.com/7591350/130976206-d8dc23b1-a54b-44aa-9e56-0390b2868f03.png) ![image](https://user-images.githubusercontent.com/7591350/130976245-aef30ee5-2e3b-432f-b9fc-a5cc82b09171.png) ![image](https://user-images.githubusercontent.com/7591350/130976254-b5823c64-ed7a-4173-923a-315654634474.png) ![image](https://user-images.githubusercontent.com/7591350/130976265-5b237ab2-d192-4d04-bae8-e2d9ba80e4a5.png) ![image](https://user-images.githubusercontent.com/7591350/130976283-905780cb-84c6-466c-9854-a1edd7928e8f.png) ![image](https://user-images.githubusercontent.com/7591350/130976303-ab710a9e-136e-4750-b316-97712c0f6b7f.png) ![image](https://user-images.githubusercontent.com/7591350/130976330-9da0672e-097f-4f73-9a36-e0b69488f2c0.png) ![image](https://user-images.githubusercontent.com/7591350/130976352-2a5413ea-92fd-4d46-bbc6-80119b1df3ca.png) ![image](https://user-images.githubusercontent.com/7591350/130976369-21577084-c86f-4b98-8201-4127290d3889.png) ![image](https://user-images.githubusercontent.com/7591350/130976390-62b18f84-50ed-490f-a912-eba93ffae7df.png) ![image](https://user-images.githubusercontent.com/7591350/130976408-11078b13-2f77-4be0-964c-e2c74fee490e.png) ![image](https://user-images.githubusercontent.com/7591350/130976423-e0581b02-74d3-472f-8c4e-2e0744f3ff2e.png) ![image](https://user-images.githubusercontent.com/7591350/130976440-6f9a129c-9087-487a-9495-570e84a0123e.png) ![image](https://user-images.githubusercontent.com/7591350/130976466-6bcb0fee-01c0-431f-ae7a-28418830eced.png) ![minnie2](https://user-images.githubusercontent.com/7591350/130976578-cfab5071-aa5a-4df6-a1b9-948e43b35b46.png) ![minnie1](https://user-images.githubusercontent.com/7591350/130976589-eebd001e-f3fc-44bd-8bdb-b4757c82928c.png) ![image](https://user-images.githubusercontent.com/7591350/130976611-1a50943b-8336-450c-ab73-f5fae516c2f2.png) ![image](https://user-images.githubusercontent.com/7591350/130976630-36b93b94-da45-4cbd-8b8f-b17e645f2631.png) ![image](https://user-images.githubusercontent.com/7591350/130976651-71769006-8966-45d0-b718-9467dbbe4028.png) ![image](https://user-images.githubusercontent.com/7591350/130976668-5859ee16-0f40-4b55-9d8b-c7a1c5f71ba8.png) ![image](https://user-images.githubusercontent.com/7591350/130976677-c51fc166-79dc-4155-a379-089bca69e03a.png) ![image](https://user-images.githubusercontent.com/7591350/130976712-6f4f4233-5c09-4c8d-90ef-b0b720a92370.png)...

``` function calculateAge(weeksSinceCleaned) { return 0.7 - 1.0 / (Math.pow(weeksSinceCleaned, 0.65) + (1.0 / 2.7)); }; function setAge(wrapped, dirtLevel) { wrapped._perObjectData.perObjectPSData.data[2] = dirtLevel; }; ```