View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.0.51 or later
- Package size
- 5.0 MB
- Files
- 21
- Favorites
- 7
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.49 on
Keywords
Sine Waves and Flag Material
A sine wave shader for planes in Unity, specially useful to animate simple decorative objects like flags, foliage like weed or plantas, water etc.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Sine Waves and Flag Material video 1 (plays on the Asset Store)
About this asset
This shader is essentially a simple, easy-to-set-up system for animating planes with a texture. The package includes four different materials designed for various purposes and optimization needs:
- 1 Unlit material without transparency
- 1 Unlit material with transparency
- 1 Lit material without transparency
- 1 Lit material with transparency
All these materials use the same sine-wave animation system, but you can choose between them depending on what your asset requires, whether it’s something lightweight and simple (unlit) or something more advanced with dynamic lighting (lit).
Each material also includes a clamp system, which allows you to keep part of the plane from being affected by the sine-wave motion. This is useful for creating effects such as a flag or grass, where one side of the plane must remain attached to something solid (like a flagpole or the ground).
This Sine Wave System includes three different parameters:
- Sine Wave Speed
- Sine Wave Frequency
- Sine Wave Amplitude
From the publisher's Asset Store listing.
Technical details
This shader is essentially a simple, easy-to-set-up system for animating planes with a texture. The package includes four different materials designed for various purposes and optimization needs:
- 1 Unlit material without transparency
- 1 Unlit material with transparency
- 1 Lit material without transparency
- 1 Lit material with transparency
All these materials use the same sine-wave animation system, but you can choose between them depending on what your asset requires, whether it’s something lightweight and simple (unlit) or something more advanced with dynamic lighting (lit).
Each material also includes a clamp system, which allows you to keep part of the plane from being affected by the sine-wave motion. This is useful for creating effects such as a flag or grass, where one side of the plane must remain attached to something solid (like a flagpole or the ground).
This Sine Wave System includes three different parameters:
- Sine Wave Speed
- Sine Wave Frequency
- Sine Wave Amplitude
This material was made with Unity URP and Shader Graph. You can modify the shader as you like, just keep in mind that you’ll need Unity URP 2021 or higher.
This shader/material works best on planes. You can use it on 3D meshes as well, but you may notice some visual artifacts.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.51f1 | Not listed | Compatible | Not listed |
As listed on the Asset Store.