Skip to content

Instantly share code, notes, and snippets.

View alexmalyutindev's full-sized avatar

Alexander Malyutin alexmalyutindev

View GitHub Profile

From time to time I receive questions on the depth aware upsampling mentioned in the INSIDE-rendering presentation: https://loopit.dk/rendering_inside.pdf#page=39

noisy blur

The goal of this technique is to take the texture-output from a half-resolution pass, containing the results of sampling volumetric fog - and scale it up to full resolution. This presents two challenges:

  • Making sure samples from the low-resolution buffer, do not spill on top of foreground objects in the high-resolution buffer
  • Making sure the samples in the volumetric fog can be properly accumulated by TAA after upsampling

@alexmalyutindev
alexmalyutindev / TerrainChunkMeshGenerator.cs
Last active December 19, 2024 08:05
Terrain Chunk Mesh Generator
// MIT License
//
// Copyright (c) 2024 Alexander Malyutin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@alexmalyutindev
alexmalyutindev / bake_morph_textures.py
Last active November 21, 2024 14:38
Vertex animation baker for Blender.
# Source
# Vertex animation textures, beanbags and boneless animations
# by Martin Donald
# https://www.youtube.com/watch?v=NQ5Dllbxbz4
import bpy
import bmesh
import mathutils