Skip to content

Instantly share code, notes, and snippets.

@Hermesiss
Last active March 24, 2024 13:51
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Hermesiss/5b8cb04233abc174141aebcdc6d79303 to your computer and use it in GitHub Desktop.
Save Hermesiss/5b8cb04233abc174141aebcdc6d79303 to your computer and use it in GitHub Desktop.

Making pixelated effect with Amplify Impostors

Videos:

Youtube video Youtube video

In my example I used this assets:

You need to bake an impostor for each mesh in your model

  1. Add LODGroup script to your mesh
  2. Delete all LOD levels except the first one
  3. Select remained LOD group and delete all renderers except the one from this gameObject
  4. Add AmplifyImpostor script to your mesh
  5. Create new ImpostorAsset with this settings:
    1. Bake Type - Spherical
    2. Texture size - 128-2048. Bigger object = bigger texture
    3. Axis Frames - feel free to experiment with this one, but keep in mind that many frames = few pixels per one frame
  6. Press Bake Impostor. After a little time wild Impostor object will appear as a child of your gameObject
  7. Make sure that the renderer on your old object is turned off
  8. Repeat for all other meshes in your model

After that select all impostor textures in Project view and change Filter mode to Point (no filter)

You can download a demo and try it yourself: https://hermesiss.itch.io/pixelated-impostors

@Werninator
Copy link

Thanks for the guide!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment