Giter Club home page Giter Club logo

fadeobstructingobjects's Introduction

Fade Obstructions

Please have a look at the tutorial video at: https://youtu.be/iTX87yXn-Sk

Setup

  1. Make sure the objects that will fade have their shader's rendering mode set to 'Fade'
  2. Add the FadeObstructionsManager script to any GameObject and specify your camera on it
  3. Add the FadeToMe script to your player

Options

Final Alpha: The transparency level, 0 being completely transparent, 1 being competely opaque Fade out seconds: The number of seconds it takes for the objects to fade out Fade in seconds: The number of seconds it takes for the objects to fade back to full opacity Radius: The ray radius is the radius of the ray used to find the obstructing objects Layer Mask: All objects on the selected layers will be faded if found to obstruct the player

Overriding defaults

At some point you will have an object that you want to handle differently than the defaults defined in the FadeObstructingObjects script placed on the player.

You can add the FadeObjectOptions script to any object and override those values.

fadeobstructingobjects's People

Contributors

rvlietstra 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.