Coder Social home page Coder Social logo

unity-shaders's Introduction

Unity Shaders

Project about reseach on shaders and particle systems and how to use them in Unity. This project consists of several scenes in which I have been learning about using shaders, particle systems and how to program custom graphics. Scenes in this projects are made by following various tutorials from internet and by changing them to get better understanding how they actually work.

This project consist of 6 parts:

1. UI and camera shaders

UI shaders.unity

This scene has 3 different simple shaders to manipulate UI and camera view. Shaders are changing borders of UI image and making "spooky" effect on UI text. Third shader is shifting camera view with sine function.
Also, this was my first contact with creating shaders.

alt text

2. Ripple effect

Ripple scene.unity

By clicking with left mouse in the scene shader will start to create ripples over attached material. With changing different parameters we can adjust size and look of the creating ripples.

alt text

3. Hologram effect

Hologram scene.unity

Hologram looking effect which can be nice for some SF game. Combining vertices with different operations we can easly get interesting results.

alt text

4. Night vision

scene 4 night vision.unity

Image effect for camera to get the look of night vision googles. Whole idea is to calculate image depth and then dim out objects that are too far. To get more realistic results, green color is added together with mask. Also Unity's Standard Asset was added to get low light noise effect.

alt text

5. Snow simulation

Snow scene.unity

This scene shows tessellation shader used as snow material. Main goal of this scene is to make changes on material when some object touches it and to make depths in it. These depth are calculated in real time and can be seen depending on how deep some object has went through snow. Also snow falling simulator is added to fill depths over time.

alt text

6. Dissolve effect (particle system & shader)

Dissolve scene.unity

Combining particle systems with shader we get objects dissolving effect when they are at enought distance from source.

alt text

7. Fire effect (particle system)

Fire1 scene.unity & Fire2 scene.unity

Simulations of fire effect made with several particle system objects.

alt text

unity-shaders's People

Contributors

igradeca avatar

Watchers

James Cloos 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.