View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.3
- Last updated
- First released
- Unity version
- 6000.0.32 or later
- Package size
- 30.4 MB
- Files
- 50
- Favorites
- 62
- Views in the past week
- 35
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
LPEnviroment - Optimized Tree Shaders
Optimized tree shaders for HDRP, URP and built-in pipeline. Shaders provide shading and lighting features and wind simulation without any additional mesh data requirements.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 5
LPEnviroment - Optimized Tree Shaders screenshot 1
About this asset
This package features collection of four optimized tree shaders for all three render pipelines. Performance is only 3-10% below basic lit shaders both on CPU and GPU side.
Shaders provide wind simulation without any additional vertex data requirements, and shading and lighting features, such as volume-based shading, high-fidelity imitation of self-shading when outside of range of cast shadows and light transmission.
Asset uses textures and shader sources under MIT, Unity Companion License and CC0 licenses; see Third-Party Notices.txt
Textures table_mountain_1_puresky_2k.exr, CliffAlbedoSpecular.psd, GrassHillAlbedo.psd, GrassRockyAlbedo.psd, Grass.png are third-party assets.
Textures maskHDRP.png, mask.png, bark_apple_01b.png, bark_cherry_01b.png, leaves_apple_01.png, leaves_cherry_01.png are original work.
perlin64_4c.png is computer-generated.
From the publisher's Asset Store listing.
Technical details
Shading of tree top is simulated as attenuation of sun rays trough an ellipsoid with configurable flat density.
Once outside range of cast shadow, LPEnviroment shaders will apply own self shading, that imitates result produced by cast shading.
Built-in pipeline shaders are compatible with Unity 2019.2
HDRP shader is implemented as a shader graph. Wind module is a separate subgraph, allowing usage in other shaders. Since URP and built-in shader do not support light transmission on cutout variants, remaining shaders are implemented in HLSL.
Wind simulation and most of shading functions are separated into a separate module, which can also be included and used in other shaders.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.32f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.