Skip to content

wingstone/AmbientOcclusionBaking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmbientOcclusionBaking

GitHub Stars GitHub Issues

This is a unity AO baking tool. You can bake AO using same uv layout with lightmap. After baking, you will get the baking AO textures in separate files.

BackGround

Unity don't have a seperate AO baking tool.

The builtin baking tools bake AO into lightmaps, so you can't control ao seperately.

In addition, the AO Effect isn't perfect visually.

I develope this tool to solve this problem.

Features

  • Soft rasterization in cpu
  • Ray Tracing in cpu, using unity api
  • Support simple AO and Physical AO
  • Fix the seam problem in uv layout
  • Simple blur AO Effect

Usage

Open this project in Unity, Unity version is 2019.4.17f1.

In project, open AO baking window in Window/AOBakeWindow.

And then, it's time for you!

Example

Reference

  1. Unity-Vertex-AmbientOcclusion
  2. Software Rasterization Algorithms for Filling Triangles
  3. Interpolating in a Triangle
  4. calculate-uv-coordinates-of-3d-point-on-plane-of-m.html

License

This project is licensed under the terms of the MIT license.

About

Unity AmbientOcclusion Baking Tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published