• Stars
    star
    748
  • Rank 60,661 (Top 2 %)
  • Language ShaderLab
  • License
    The Unlicense
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source code for Grass Shader tutorial for Unity. Generates blades with a geometry shader, tessellates input mesh to control density.

Grass Geometry Shader for Unity

Unity 2018.3 project source for completed Grass Shader Tutorial from the site roystan.net.

alt text

Uses a geometry shader to generate blades of grass. Controls the density of the blades by tessellating the input mesh. Can cast and receive shadows.

Wood texture used on fence model is sourced from CCO Textures.

More Repositories

1

UnityToonShader

Source code for Toon Shader tutorial for Unity. Has specular, rim lighting, and can cast and receive shadows.
ShaderLab
745
star
2

UnityOutlineShader

Source code for Outline Shader tutorial for Unity. Detects edges in a scene using the depth and normals buffers.
ShaderLab
736
star
3

SuperCharacterController

Unity custom character controller
C#
725
star
4

ToonWaterShader

Source code for Toon Water Shader tutorial for Unity. Renders and animates toon-style waves from a noise texture and generates shoreline foam based off the depth buffer.
ShaderLab
655
star
5

ProjectileShooting

Project demonstrating in Unity how to fire a projectile at a target by either specifying its initial velocity or initial angle. Also draws out the projectile's expected trajectory.
C#
394
star
6

UnityCameraShake

Source code for Camera Shake tutorial for Unity. Generates pseudo-random camera shake using Perlin noise.
C#
91
star
7

2DCharacterControllerTutorial

Source code for 2D Character Controller tutorial for Unity.
C#
70
star
8

UnityPhysics-GameObjects

Proof of concept wrapper to allow using Unity Physics directly with Game Objects (without ECS).
C#
36
star
9

ParsecUnity

Unity wrapper for Parsec SDK C# bindings to allow hosting and joining Parsec sessions within a Unity app.
C#
23
star
10

FixedPoint-Sharp-Unity

Unity integration for RomanZhu's C# 48.16 fixed point library. https://github.com/RomanZhu/FixedPoint-Sharp
C#
19
star
11

UnityCrossPlatformDeterministicFloats

Tests to check the determinism of the basic floating point arithmetic operations on different devices using Unity.
C#
18
star
12

GLHF

Literally nothing
C#
4
star
13

ChatGPT-2DPhysics

C#
3
star
14

Roystan.net

Source code for my personal website, built with Eleventy static site generator.
Nunjucks
2
star
15

FusionDemo

C#
1
star
16

UnityLogViewer

Displays Player.log files in a window similar to the standard Unity Editor Console. Currently an editor script, though that could change.
C#
1
star