Sample code for the article 'Real-Time Layered Materials Compositing Using Spatial Clustering Encoding' by Sergey Makeev
Please find precompiled demo in here https://github.com/SergeyMakeev/GpuZen2/releases
Spatial Clustering Encoding Library uses a modified ZLIB license. Specifically, it's the same as zlib except that public credits for using the code are required.
Copyright (c) 2017-2019, Sergey Makeev
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-
The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
-
If you use this software in a product, this acknowledgment in the product documentation or credits is required:
"Spatial Clustering Encoding Library Copyright (c) 2017-2019 Sergey Makeev"
-
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-
This notice may not be removed or altered from any source distribution.
Graphical assets Copyright (C) 2017-1028, Mail.Ru Games, LLC. All graphical assets provided for educational purposes only and can not be used in commercial products.
Please let me know if you use this code in your products or have any questions or suggestions.
Encoder - Command line C# application to encode layered material representation.
DemoSourceProject - Unity project to demonstrate the use of Real-Time Layered Materials
Compositing Using Spatial Clustering Encoding.
Special thanks to Konstantin Antipov for helping with assets for this demo. All graphical assets courtesy of Mail.Ru Group.
Enjoy!
Bonus video: https://www.youtube.com/watch?v=leAPr3jzUcc