Toon Grass Auto-Blending

Something that bothers me about grass are the hard edges at the roots. I'd seen some pigmentation solutions which were tedious, so I created a shader that can blend the grass with the terrain automatically. Was mich an Gras stört, sind die harten Kanten an den Wurzeln. Ich habe einige Pigmentierungslösungen gesehen, die sehr mühsam waren, also habe ich einen Shader entwickelt, der das Gras automatisch mit dem Gelände verschmelzen kann. Una cosa che mi dà fastidio dell'erba sono i bordi netti alle radici. Avevo visto alcune soluzioni di pigmentazione che erano piuttosto noiose, quindi ho creato uno shader in grado di fondere automaticamente l'erba con il terreno.

2025-08-27T20:16:45+00:00August 14, 2023|Categories: Code|Tags: , |

2.5D Physics

For a new project, I wanted to go with a 2.5d solution. Unfortunately, for optimization, Unity does not allow the rotation of terrains and mesh-based terrains wouldn't be ideal. In order to allow for exciting background scenery, while keeping the illusion of a 2D game, movement along a spline would be important. Für ein neues Projekt wollte ich eine 2,5D-Lösung verwenden. Leider erlaubt Unity aus Optimierungsgründen keine Drehung von Terrains, und meshbasierte Terrains wären nicht ideal. Um spannende Hintergrundszenerien zu ermöglichen und gleichzeitig die Illusion eines 2D-Spiels zu bewahren, wäre eine Bewegung entlang einer Spline wichtig. Per un nuovo progetto, volevo optare per una soluzione 2.5D. Purtroppo, per motivi di ottimizzazione, Unity non consente la rotazione dei terreni e i terreni basati su mesh non sarebbero l'ideale. Per ottenere uno scenario di sfondo emozionante, pur mantenendo l'illusione di un gioco 2D, sarebbe importante il movimento lungo una spline.

2025-08-27T20:17:20+00:00August 2, 2023|Categories: Code|Tags: , |

Lattice Mesh Deformer

To get a toon look for architecture, I needed a lattice deformer. There is an open source solution which nearly did the trick, but the bounds function was broken. Um einen Cartoon-Look für die Architektur zu erzielen, benötigte ich einen Gitter-Deformer. Es gibt eine Open-Source-Lösung, die fast das gewünschte Ergebnis lieferte, aber die Bounds-Funktion war defekt. Per ottenere un effetto cartoonesco nell'architettura, avevo bisogno di un deformatore a reticolo. Esiste una soluzione open source che quasi funzionava, ma la funzione di delimitazione era difettosa.

2025-08-31T03:42:54+00:00December 3, 2022|Categories: Code|Tags: , |

Zen Shader

Steven added a feature to the game that allows the player to meditate to gain spiritual powers. He required an effect that would express a zen state. Steven hat dem Spiel eine Funktion hinzugefügt, mit der der Spieler meditieren kann, um spirituelle Kräfte zu erlangen. Er benötigte einen Effekt, der einen Zen-Zustand ausdrückt. Steven ha aggiunto una funzione al gioco che permette al giocatore di meditare per acquisire poteri spirituali. Aveva bisogno di un effetto che esprimesse uno stato zen.

2025-08-31T03:39:15+00:00October 4, 2022|Categories: Code, Okinawa Rush|Tags: , , |

Tree Auto-Animation Shader

David was pressed for time. Our deadline was over a year away, but there would be much pixel art to complete. Animating trees per pixel is tedious work, especially since Steven's wind code would require multiple variants for each of the then static images. They approached me, hoping for a shader solution; that they might save time. David stand unter Zeitdruck. Unsere Deadline war zwar noch über ein Jahr entfernt, aber es gab noch viel Pixelkunst zu erstellen. Das Animieren von Bäumen pro Pixel ist mühsame Arbeit, zumal Stevens Windcode mehrere Varianten für jedes der damals statischen Bilder erfordern würde. Sie wandten sich an mich in der Hoffnung auf eine Shader-Lösung, mit der sie Zeit sparen könnten. David era a corto di tempo. La nostra scadenza era tra più di un anno, ma c'era ancora molta pixel art da completare. Animare gli alberi pixel per pixel è un lavoro noioso, soprattutto perché il codice del vento di Steven richiedeva più varianti per ciascuna delle immagini allora statiche. Mi hanno contattato sperando in una soluzione shader che potesse far loro risparmiare tempo.

2025-08-31T03:40:35+00:00October 3, 2022|Categories: Code, Okinawa Rush|Tags: , , |
Go to Top