Code Monkey home page Code Monkey logo

unity-urp-vr-lens-flare's Introduction

VR Lens Flare

Unity URP implementation of Lens Flare optimized for mobile VR.

This pack allows you to use an optimized version of Lens Flares in mobile VR (URP only).

How to use

  1. Add VR Lens Flare Render Feature to your URP Renderer.

How to add URP VR Lens Flare renderer feature

  1. Attach the Lens Flare (VR) component to your object or light source and add Lens Flare Data.

How to add VR Lens flare component to game object

Limitations

  • This version supports only image lens flares data.

  • This version doesn't work with camera occlusion. Instead, raycasts are used. You can configure the raycast mask in the your URP asset.

Screenshots

VR Lens Flare Screenshot 1

VR Lens Flare Screenshot 2

unity-urp-vr-lens-flare's People

Contributors

aleverdes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unity-urp-vr-lens-flare's Issues

Lens flare showing up in scene and game view but NOT during play mode

The lens flares seems to be working only when not in play mode. It shows up in the editor and game preview but when the game is running it will go away. Unity 2021.3.19. Any thoughts on how to get this working during play mode?

image
image

Side note: The package only works when extracted to the /Assets folder. If installed via package manager via Git URL, it will not work. Also moving the folder into a subfolder will also break the namespace links.

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.