https://github.com/peturdarri/fluence-unity-plugin
An example Unity project using Fluence to render lightfields
https://github.com/peturdarri/fluence-unity-plugin
Last synced: 7 months ago
JSON representation
An example Unity project using Fluence to render lightfields
- Host: GitHub
- URL: https://github.com/peturdarri/fluence-unity-plugin
- Owner: PeturDarri
- License: unlicense
- Created: 2018-03-15T02:51:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-17T16:26:50.000Z (over 7 years ago)
- Last Synced: 2025-02-28T17:25:13.796Z (7 months ago)
- Language: C#
- Homepage:
- Size: 24.4 KB
- Stars: 26
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fluence-Unity-Plugin
This is an example Unity (2017.3.1f1) project that uses Google's Fluence plugin to render lightfields.
[Preview GIF](https://i.imgur.com/tN1Z5cj.gifv)## Quick Setup
This repository does not have all the required files to work. Here's how to get it working:
1. Install [Welcome to Light Fields on Steam](http://store.steampowered.com/app/771310/Welcome_to_Light_Fields/).
2. Navigate to the install folder.
3. Copy `WTLF_Data/Plugins/fluence_plugin.dll` to the `Assets/Plugins` folder of the project.
4. Copy any .lf files you want to use in `WTLF_Data/StreamingAssets/Lightfields` to the `Assets/StreamingAssets/Lightfields` folder in the project.
5. In the `example.unity` scene, create an empty gameobject and add the FluenceLightfield component to it (or use the existing Beach Condo Lightfield gameobject in the scene).
6. Set the Lightfield Path to which lightfield you want rendered. Make sure to include the Lightfields folder. Example: `Lightfields/Lightfield.lf`.
7. Press Play!## Disclaimer
This project is **not** meant to be a fully functioning plugin for Fluence. It's only an example of how to get it working. It's expected you make changes to it where you need to.