Skip to content

Instantly share code, notes, and snippets.

View bitmammoth's full-sized avatar

Terrence Conrad bitmammoth

  • California, USA
View GitHub Profile
@Kiokiok
Kiokiok / FlecsBootstrapper.cs
Last active January 22, 2025 01:08
Simple example on how to render flecs entities in Godot. Two ways : individual instances or multimesh.
using Godot;
using Flecs.NET.Core;
using static Flecs.NET.Bindings.Native;
public partial class FlecsBootstrapper : Node3D
{
[Export]
Mesh renderMesh;
[Export]
@yasirkula
yasirkula / ShaderStripper.cs
Last active May 6, 2025 20:50
Stripping commonly unused shader variants in Unity's built-in render pipeline
//#define SHADER_COMPILATION_LOGGING
//#define SKIP_SHADER_COMPILATION
using System.Collections.Generic;
using UnityEditor.Build;
using UnityEditor.Rendering;
using UnityEngine;
using UnityEngine.Rendering;
public class ShaderStripper : IPreprocessShaders