Git Product home page Git Product logo

kinoglitch's Introduction

KinoGlitch

KinoGlitch is a collection of glitch video effects. At the moment, it provides two types of glitch effects.

  • Analog Glitch: scan line jitter, color drift, vertical jump, horizontal shake.

anim1 anim2

  • Digital glitch: block damage.

anim3

License

Copyright (C) 2015 Keijiro Takahashi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

kinoglitch's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kinoglitch's Issues

Not Wotking with Post Processing

When I add Analog glitch the game becomes black, but when I remove post processing the glitch works
Now I Need Both Post Processing and Glitch effect
Plz help

Blinking the screen when "Digital Glitch" script attached

What am I expecting: if the script is attached and the intensity is zero - nothing happens.

What I get (0 and 0.25 intensity. 33fps gif):


PS: In the "Analog Glitch" script, this doesn't happen.

PSS: Also I get a warning, I do not know if it's related to the problem or not:

Tiled GPU perf. warning: RenderTexture color surface (1280x720) was not cleared/discarded, doing
UnityEngine.Graphics:Blit(Texture, RenderTexture)
Kino.DigitalGlitch:OnRenderImage(RenderTexture, RenderTexture) (at Assets/Scripts/Glitch/DigitalGlitch.cs:117)

Slight scan line jitter always

I may make a pull request to fix this one but there is a permanent and slight scan line jitter that always occurs when the script is attached to a camera. In my case, it is easy to work around by simply disabling the script when I don't need the effect. Plus it's a game jam so I'm not putting too much priority in it.

In either case, here is a screenshot.

scanlinejitter

I'm using Unity 2017.1.0f3

Thanks in advance and if I have time I'll submit a pull request

HDRP support?

I saw in one of your comments on LWRP support that you mentioned "I'm thinking of porting Kino to URP from HDRP.".

Should I understand that you have it already ported to HDRP? If so, where is the implementation? The current implementation seem to use the built-in camera effect based API.

Thanks.

HDRP support?

hello,
does it support on HDRP with PP stack v2 ?

thanks.

Not working with my project

I'm using unity 2020.1.6f1 and the HDRP for the rendering pipeline. When i use the test project provided it works fine but when i put them on my camera in my project it doesn't work at all. And I've tried making a blank camera and putting both of them on there. i'm really not sure why it doesn't work.

Can anybody please make a video tutorial?

Hi! My name is Daniel and i would like to use your glitch effect! I want to make a splash screen and i'm almost done! I just need that glitch effect on my text element.
I would be really happy if someone could help me out!

Have a nice day!
//Daniel

Runtime editing of values

I found when manually editing the effects in runtime, they fail to actually show at all.

The effects become active and the value is changed yet no effect is played on the camera.

` public IEnumerator Taking_Damage()
{

    var volume = Character_Selection_Volume;



    if (volume.profile.TryGet<Glitch>(out var _glitch))
    {
        

        _glitch.jump = new ClampedFloatParameter(0.6f, 0, 1,true);
        _glitch.block = new ClampedFloatParameter(0.6f, 0, 1,true);

    }


    yield return null;
}`

Force Close Android Device

I was trying to build a test on an Android device, when suddenly it force closed. I tried to figure out the cause by disabling some scripts I had created earlier, and I found out when I tried to deactivate the AnalogGlitch script, the force close didn't occur. I tried to find out the reason why because I felt this script was just simple. After examining it, I found out that this was the cause:

[ExecuteInEditMode]

After removing it, everything ran smoothly.

I don't know why, but I tried and made sure again. Suddenly, it force closes when adding it back, i put this script in singleton camera

btw im put in credit your name you prefer username or your real name ?

WhatsApp Image 2024-04-17 at 15 20 54

12 Errors on import

Hi! I just imported this amazing asset only it gives me 12 errors after importing it.

1.Assets\Kino\Glitch\AnalogGlitch.cs(30,18): error CS0101: The namespace 'Kino' already contains a definition for 'AnalogGlitch'

2.Assets\Kino\Glitch\DigitalGlitch.cs(111,14): error CS0111: Type 'DigitalGlitch' already defines a member called 'OnRenderImage' with the same parameter types

  1. Assets\Kino\Glitch\DigitalGlitch.cs(27,6): error CS0579: Duplicate 'ExecuteInEditMode' attribute

  2. Assets\Kino\Glitch\DigitalGlitch.cs(29,6): error CS0579: Duplicate 'AddComponentMenu' attribute

  3. Assets\Kino\Glitch\AnalogGlitch.cs(27,6): error CS0579: Duplicate 'ExecuteInEditMode' attribute

  4. Assets\Kino\Glitch\AnalogGlitch.cs(29,6): error CS0579: Duplicate 'AddComponentMenu' attribute

  5. Assets\Kino\Glitch\AnalogGlitch.cs(88,14): error CS0111: Type 'AnalogGlitch' already defines a member called 'OnRenderImage' with the same parameter types

  6. Assets\Kino\Glitch\DigitalGlitch.cs(57,22): error CS0111: Type 'DigitalGlitch' already defines a member called 'RandomColor' with the same parameter types

  7. Assets\Kino\Glitch\DigitalGlitch.cs(62,14): error CS0111: Type 'DigitalGlitch' already defines a member called 'SetUpResources' with the same parameter types

  8. Assets\Kino\Glitch\DigitalGlitch.cs(111,14): error CS0111: Type 'DigitalGlitch' already defines a member called 'OnRenderImage' with the same parameter types

  9. Assets\Kino\Glitch\DigitalGlitch.cs(102,14): error CS0111: Type 'DigitalGlitch' already defines a member called 'Update' with the same parameter types

  10. Assets\Kino\Glitch\DigitalGlitch.cs(111,14): error CS0111: Type 'DigitalGlitch' already defines a member called 'OnRenderImage' with the same parameter types

Im using: Unity 2021.1.6f1 DX11 ~ Univeral Render Pipeline

Idk if these are easy fixes. I have no experience in C#. Could you take a look at it?

Support For LWRP?

I have tried to use KinoGlitch with a 2D project of mine that uses LWRP.
It doesn't seem to work. Is it possible to make KinoGlitch work with LWRP?
Thank you in advance.

Unity 2019.3.X HDRP not working

We recently downloaded the project and tried attaching the digital glitch script to our main camera in our intro scene but we didn’t get an effect. We are currently on unity 2019.3.7 and are on the most up to date HDRP version as of April 24,2020.

Render effect on certain objects, not entire screen

This isn't so much an issue, but more of a question. I thought I would ask it here. I have multiple cameras in my scene and I'm adding the effect to one of the cameras with the hopes of only having the effect show on certain objects. When I run the scene the effect covers the whole screen, instead of only distorting objects that are being rendered by the camera that has the glitch effect applied. I'm still learning shaders, and I'm not quite sure how I would have to modify it to get the desired effect. Any thoughts?

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.