Stix Games Documentation
Discord✨ Get on the asset store ✨
DirectX 11 Grass Shader
DirectX 11 Grass Shader
  • General
    • DirectX 11 Grass Shader
    • Quick Start
    • Grass Renderer Components
      • Nature Mesh Filter
      • Grass Renderer
    • Material Settings
      • Shader Variants
      • Performance Settings
      • Visual Settings
  • Advanced Features
    • Grass Painter
    • Interaction System
    • CPU Fallback
      • How-To: Set up the grass fallback component
      • Texture Atlas Renderer Settings
      • Grass Fallback Renderer
    • Grass Texture Atlas Templates
    • Global Shader Variables
  • Guides
    • Performance Optimization
    • Improve Visuals
    • Fix Visual Artifacts
    • Virtual Reality
    • Render Pipelines
Powered by GitBook
On this page
  • Create a grass material
  • Render the grass on your custom mesh of Unity terrain
  • Customize you material

Was this helpful?

  1. General

Quick Start

PreviousDirectX 11 Grass ShaderNextGrass Renderer Components

Last updated 8 months ago

Was this helpful?

Create a grass material

  1. In the project window, navigate to the folder where you want to create your grass material.

  2. Right click > Create > Material

  3. Select the shader: Stix Games / Grass or Stix Games / Grass Forward Only

Render the grass on your custom mesh of Unity terrain

  1. Select your floor object. This can be a custom mesh or a Unity terrain, the process is the same. Make sure you have selected the object with the Mesh Filter or Terrain component.

  2. Add Component: Stix Games > General > Nature Mesh Filter

  3. Add Component: Stix Games > General > Grass Renderer

  4. Select your grass material in the Grass Renderers Material Field

  5. Configure all settings to your liking

Customize you material

Now it's all about what you want to create. Check the Material Settings page, read tooltips, and try playing around with the material. The various settings can drastically change the looks and performance impact of your grass.

If you ever get stuck, come back to this documentation, check the Performance Optimization guide, or contact me via my , the , or !

support email
contact form
Discord
A general introduction for the DirectX 11 Grass Shader