Giter Site home page Giter Site logo

pinkuburu / ltcgi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pimaker/ltcgi

0.0 0.0 0.0 195.66 MB

Optimized plug-and-play realtime area lighting using the linearly transformed cosine algorithm for Unity/VRChat.

Home Page: https://ltcgi.dev

License: Other

C# 63.97% HLSL 19.78% ShaderLab 16.24%

ltcgi's Introduction

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

Check out the official website for documentation and a "Getting Started" guide! (https://ltcgi.dev)

Consider the attribution requirements. Check the Releases tab for downloads.

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

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

Download

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

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

Adapters for various VRChat video players are still distributed as unitypackages from the Releases tab.

Supported shaders

To use LTCGI, all objects that should receive lighting must use a compatible shader. Currently compatible ones are listed below. If you implement LTCGI into your shader, feel free to send a PR to be included.

Attribution

According to the License you are free to use this in your world, but you need to give credit. You are free to do so in whichever way, but you must provide a link to this GitHub repository, such as to fulfill the imported license of the LTC example code used as a base for this project.

For your convenience, a prefab called LTCGI Attribution is provided in the package.

LTCGI Attribution Prefab

If you don't want to use it, instead display text similar to the following:

This project/world uses LTCGI by _pi_, see 'github.com/pimaker/ltcgi'.

Licensing

The LTC algorithm

Based on this paper:

Real-Time Polygonal-Light Shading with Linearly Transformed Cosines.
Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt.
ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH 2016) 35(4), 2016.
Project page: https://eheitzresearch.wordpress.com/415-2/

Read more

LTCGI

This project is made available under the terms of the MIT license, unless explicitly marked otherwise in the source files. See LICENSE for more.

The following files are licensed explicitly, and may not be modified or used in commercial projects, but can be redistributed and displayed otherwise, provided this license is kept:

  • Propaganda/pi_graffiti.png
  • Propaganda/ltcgi_graffiti.png

ltcgi's People

Contributors

pimaker avatar float3 avatar jlchntoz avatar shiyouganai avatar scruffyrules avatar hyblocker avatar kitkat4191 avatar z3y avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.