GithubHelp home page GithubHelp logo

zephyo / 2d-unity-experiments Goto Github PK

View Code? Open in Web Editor NEW
236.0 12.0 22.0 76.87 MB

A collection of visual Unity experiments with latest packages (URP, Shader Graph, Cinemachine, etc).

License: Other

ShaderLab 35.31% C# 58.40% GLSL 2.65% HLSL 3.65%
shader material effects graphics experimental unity vfx

2d-unity-experiments's Introduction

2D Unity 2020 Graphic Experiments

Includes 7 different experiments involving Unity's latest packages.

Description

Below I'll describe what each scene does uniquely.

Most scenes have a "camera follows mouse position" feature.

Dynamically Flowing Hair & Petals

  • Hair and petals flow naturally, as if in wind
  • Uses 2D animation bones / particle system, and Effector2Ds and WindZone

Light Beams

  • Light beams from eyes follow mouse
  • Light beams simulated with cylinder with a removed face and a special material

Rain Shader

Galaxy Anime

  • Reproduced shaky "eye shine" effect in anime.
  • Reflected background galaxy in eyes and hair with RenderTexture & ShaderGraph

Bloody Rain Particles

  • Blood flows from nose; red rain particles

Wiggly Text with Blend Mode

  • Text wiggles and has additive blend mode using custom TMP shader; other sprites have blend modes
  • Utilizes the Blend command

Blurry, Shaky Typewriting

  • Camera shakes and blurs sporadically; text tweens scale, opacity, and typewrites
  • Shake and blur done via Cinemachine's Noise property and dynamically setting Depth-Of-Field

Requirements

Requires the following packages -

Unity Packages:

  • 2D Animation
  • Cinemachine
  • Input System
  • Lightweight RP
  • Post Processing
  • Shader Graph
  • TextMeshPro
  • Unity UI
  • Universal RP

Asset Store:

  • DOTween

Already has the following packages included -

Licensing

Code

All scripts, shaders, and scene files are distributed under the MIT license.

Assets

All art assets are under exclusive copyright; they'll be used for future games. If they're used/sold, I will find you ๐Ÿ‘€

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.