{"repo":"FredMoreau/RSUV-Bit-Packer","free":true,"listed":false,"github":"https://github.com/FredMoreau/RSUV-Bit-Packer","clone":"git clone https://github.com/FredMoreau/RSUV-Bit-Packer.git","description":"Framework facilitating the use of Renderer Shader User Value (RSUV) in Unity.","language":"C#","stars":32,"topics":["batching","graphics","instancing","shaders","unity"],"license":"Unlicense","category":"game-templates","readme_excerpt":"RSUV Bit Packer - Overview Using Renderer Shader User Value (RSUV), introduced in Unity 6.3 , allows setting unique properties per renderer, to be used in their material shaders, with no performance cost when using the SRP Batcher (and GPU Resident Drawer ). The RSUV is a (32 bit unsigned integer), which requires packing data on the C# renderer side, and unpacking data on the HLSL shader side. While packing and unpacking data is trivial, the RSUV Bit Packer (package) aims at providing a user friendly workflow to design packing scheme and set Renderer Properties in the Editor or from a C# script. Getting Started - Open the Package Manager, click on the + Icon, select \"Add Package from Git Url\". - Enter the package url: - git@github.com:FredMoreau/RSUV-Bit-Packer.git , or - https://github.com/FredMoreau/RSUV-Bit-Packer.git - Or clone the repo, select \"Add Package from disk\" and select the package.json file. - Or download as a zip, and unzip it in your project's Packages folder. Then install the Samples. Workflow The package allows you to define a packing scheme by adding \" Renderer Properties \", easily changing precision to fit in the 32 bits, then pack those properties and assign them to Renderers's RSUV and eventually fetch the properties' values in Shader Graph , using: - a Property Sheet (asset) that eventually generates a Shader Include using the new Shader Function Reflection API to fetch the data in Shader Graph . - a Property Packer (component) that sets the value on re","default_branch":null,"files":null,"tree":[],"storefront":"/r/FredMoreau","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FredMoreau/RSUV-Bit-Packer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}