Skip to main content

✨ About LTCGI

LTCGI is an optimized plug-and-play realtime area light solution using the linearly transformed cosine algorithm for standalone Unity and VRChat. Free to use with attribution. It can utilize the Unity build-in lightmapper or Bakery for realistic shadows on static objects.

screenshot of standalone demo app

You can download the standalone demo app pictured above to try it out for yourself.
Alternatively, join the demo world in VRChat.

LTCGI is distributed freely under a mixed-MIT license. For more details, checkout the LICENSE file.

Getting Started

The 'Getting Started' row on the left is a good place to start reading. Follow the numbers! (🔢)

I also recommend reading at least the Performance Optimization section from the Advanced row.

Download

Make sure you grab a compatible shader first! The built-in shaders can be used for testing, but should not be used in production.

For VRChat, you can install LTCGI via the Creator Companion from my VPM repository:

⬇️ Creator Companion/VPM Repository

(LTCGI works in avatar and world projects! But you will need a supported shader in either case.)

For standalone Unity, you can import LTCGI as a git package with the URL: https://github.com/PiMaker/ltcgi.git

About this Page

This site is the official documentation for using LTCGI-based lighting in your projects and worlds. It covers everything you should know before using LTCGI. I highly recommend skimming all the pages at least once to gain a basic understanding of what journey you're about to embark on.

⚠️ I've tried to keep things simple, but do note that LTCGI is an advanced lighting solution. If this is your first time touching Unity, this may simply not be for you - stuff will break, any you will need to read error messages and troubleshoot things.

Read the FAQ before asking for help anywhere!

Once you've done that, feel free to join my Discord and ask for help: https://discord.gg/r38vJd2DuJ

⚠️ NOTE: While the shader is optimized, it still equates to real-time lighting - so use sparingly, and read these docs carefully for tips on performance! Often times a reflection probe or a simple realtime light are the better solutions!

More glamour shots