Skip to content

DrJamgo/GodotGpuConwaysLife

Repository files navigation

GodotGpuConwaysLife

This project is an implementation of a growing forest, inspired by Conways Life, running on a fragment shader

Tested with Godot 3.5-stable

Constrains

  • using only GLES2 features to allow web/mobile operation
  • gdsript only (no custom modules needed)

Main principle

  • There are two Viewports (Front and Back)
  • Each is containing a sprite, which displays the viewport-texture of the opposite VP.
  • That way, the shader can read the texture of previous frame for current frame. (with 1 frame delay)

Demo

Try it yourself on itch: https://drjamgo.itch.io/godot-gpu-life-simulation-growing-forest

About

An implementation of Conways Life, running on a shader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published