Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
/ URPIMP Public archive
forked from MaxRoetzler/IMP

Imposter baking for Unity (URP)

Notifications You must be signed in to change notification settings

hickVieira/URPIMP

 
 

Repository files navigation

URPIMP

IMP ported to URP

Tested on Unity 2021.2.11f1

Features

  • Better and ported baker shaders (originals were on old Unity CG)
  • Better dilate (more precise but also WAY slower to compute - O(n^2) GPU exploding shader)
  • Better padding handling
  • Support for all custom shaders (in theory)
  • No use of camera component (now uses GL and Graphics calls)
  • No longer a window tool (it's a monobehaviour now)
  • No unity billboard (was kinda useless)
  • Currently bakes: Albedo + Normal + Depth

Notes

  • Well I pretty much have rewritten almost all of the C# side of the tool
  • Currently the system uses Unity's GBuffer shader implementation to do all the baking
  • So in theory, it should support all custom shaders created with Shader Graph, as long as those properly compile to URP's 'Deferred path'
  • Since it relies on GBuffer pass, it could easily break with future versions of URP
  • Obviously there is no support for skinned meshes

Images

sussy trees sussy objects

License

CC0 *Pine004 example asset is from the free Unity Book of the Dead Environment project

Releases

No releases published

Packages

No packages published

Languages

  • HLSL 49.6%
  • C# 40.0%
  • ShaderLab 10.4%