Demo Godot project about shell texturing grass using a shader and MultiMeshInstance3D.
  • GDScript 100%
Find a file
Peery 88996f14fa
Added README
Created README roughly explaining the project with some pictures.
2024-02-21 00:43:05 +01:00
.gitattributes Init 2024-02-21 00:15:57 +01:00
.gitignore Init 2024-02-21 00:15:57 +01:00
camera.gd Grass shell Texturing 2024-02-21 00:16:23 +01:00
camera.tscn Grass shell Texturing 2024-02-21 00:16:23 +01:00
grass.gdshader Grass shell Texturing 2024-02-21 00:16:23 +01:00
grass_closeup_low_v01.jpg Added README 2024-02-21 00:43:05 +01:00
grass_closeup_low_v01.jpg.import Added README 2024-02-21 00:43:05 +01:00
grass_overview_v01.jpg Added README 2024-02-21 00:43:05 +01:00
grass_overview_v01.jpg.import Added README 2024-02-21 00:43:05 +01:00
grass_plane_mesh.tres Grass shell Texturing 2024-02-21 00:16:23 +01:00
icon.png Grass shell Texturing 2024-02-21 00:16:23 +01:00
icon.png.import Grass shell Texturing 2024-02-21 00:16:23 +01:00
main.tscn Grass shell Texturing 2024-02-21 00:16:23 +01:00
multi_grass.gd Grass shell Texturing 2024-02-21 00:16:23 +01:00
multi_grass.tscn Grass shell Texturing 2024-02-21 00:16:23 +01:00
project.godot Grass shell Texturing 2024-02-21 00:16:23 +01:00
README.md Added README 2024-02-21 00:43:05 +01:00

Shell Texturing

Following the video by Acerola explaining shell texturing in video games, I decided to recreate it in Godot.

For now this uses a MultiMeshInstance and a custom shader with some basic shading in it.

Screenshot of Godot with a plane with green grass extruding from it. As can be seen here it gives the illusion of grass made of mesh when observed from a high angle. But the illusion breaks when the observation angle gets shallow.

Screenshot of Godot with a closeup of the grass in a shallow angle. The separate shells are easily visible.