Stylized Grass Shader
The minimum required version is 2019.3.0f6, compatible up to Unity 2020.2. Tested in 2021.1b4 without any issues so far.
Scriptable Render Pipeline
Only compatible with the Universal Render Pipeline, minimum required version is 7.2.0 (available in 2019.3.0f6+). HDRP support will unfortunately not be added, as this practically requires everything to be rebuild from the ground up + indefinite support/maintenance.
Tested URP versions:
- 10.2.2 (previously 9.0.0)
*Point light shadow support will be adding in the short term!
This is not yet available in the URP, but may arrive in Unity 2021.2 and URP 12. The shader will not work with this rendering path out of the box, and will continue to use Forward rendering automatically. Once this is available, compatibility will be looked into. A point of attention for this will be to ensure it stays backwards compatible with Unity 2019.3.
The shader has been tested using an Oculus Rift where no issues have been encountered. It does not use anything that requires VR-specific code, hence there’s no compatibility concerns.
Note that the shader has an “Alpha to coverage” feature which will greatly reduce aliasing when MSAA is used.
Not supported and untested thus far. Due to the wide range of devices out there, and the often obscure graphical issues that might occur on specific devices, I don’t have the time to support and test this platform. Mobile platforms are very sensitive to alpha-tested shaders and overdraw (surfaces rendering over each other) which is very common when it comes to grass. This is one of the main reasons why the shader cannot be optimized for mobile.
Compatible with both OpenGL and Metal.
Tested via a third party on Playstation 4, where no issues were present. Verified to work on Xbox One X (UWP). The shader is similar to the Lit/Simple Lit shader in the URP. This leads to assume the chance of any graphical or compiling issues are minimal.
Shader runs without any issues on Nintendo Switch, but performance is a pressing issue. In general, the platform is very sensitive to alpha tested/cutout materials, which is the biggest performance hit. This is pretty much a requirement for a grass shader, so this limits the amount of grass that can be visible at a time.
Third party integrations
Please see this page.