Code Monkey home page Code Monkey logo

kinomotion's Introduction

KinoMotion

Motion is a post-processing effect that simulates motion blur caused by object/camera movement.

gif gif

System Requirements

Rendering motion vector texture requires the RGHalf texture format. It's supported on most of the desktop/console platform, but rarely supported on the mobile devices.

Installation

Download one of the unitypackage files from the Releases page and import it to the project.

License

MIT

kinomotion'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

kinomotion's Issues

UV Scrolling support ?

Thanks for this.
Is it possible to use KineMotion to alter the motion blur based on UV translation ?

roadblur

windows Visual Studio - update !?

This is common error if I don't used Visual Studio 2015 - update ?
"Load Failed: unknown solution item type " {E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1}

Frame Blending produces weird lighting artifacts

Hi, I'm using KinoMotion to mod motionblur into a game (Specifically, People Playground). I did this by putting all the shaders needed for kinomotion into an assetbundle, then moving all the scripts into my mod, and then immediately loading all the shaders out of the assetbundle as soon as the mod is loaded (This is before the player exits the menu screen and before the Kino.Motion component is added to the game camera)

Everything seems to work fine except for the frame blending, which causes weird lighting artifacts.

Here's an example:
Frame blending = 0 (Normal lighting):
image

Frame blending > 0 (Weird auras around lights, background seems lighter and has a blue hue to it):
image

I can't exactly send you a unity project because I am modding the game and I do not have access to the source files, but if you need any extra information, please ask me and I will be happy to send it.

My theory is that the frame blending is blending together the lighting of multiple frames which causes the "aura" around light-emitting items. Don't know if this is anywhere near correct though, as I am not experienced enough with shaders to exactly understand the FrameBlending shader.

Update: I noticed that it's not just lighting that is being affected, it is the entire scene that seems to get over-saturated by the frame blender

skin mesh obj has render artifects on mobile

all good without artifects : editor , mobile simulator

but on real device, skin mesh will produce black dots around the silhouette of the skin.

the apk was built using unity2018
IMG_20220323_191340_crop
IMG_20220323_191254_crop

this scene was done with standard unity depth+motion vector pass and all using standard shader, i hav tested on Redmi 9A, Honor 8X, all producing artifects

can you hint me on what might have caused this to happen on real device?

cheers

Error: MotionVectors

I try to using your code but I got this error:
Assets/Kino/Motion/Motion.cs(160,98): error CS0117: UnityEngine.DepthTextureMode' does not contain a definition forMotionVectors'

Add documentation and examples

Right now, everything is pretty bare bone and it's hard to debug occurring errors if one is not even sure if the setup is done correctly.

As far as I understood:

  • Integrate this package
  • Add the Motion Blur post processing to the PP volume
  • Add the "Motion" script to the camera

For me, this wasn't working with the new LTS version 2021.3.8f1 on MacOS with metal/silicon. It would be helpful to have at least some basic documentation in e.g. the Readme file.

error Unity

I got this error on running Test-Runner scene:
I used personal Unity version 5.4.0b13... I try to test your source code.
I want to see all your script but first I show this , because is need time and work to parse all.

Assets/Kino/Motion/Motion.cs(160,98): error CS0117: UnityEngine.DepthTextureMode' does not contain a definition forMotionVectors'

also the Mono develop IDE told me:
cb.Blit(null, rtMask, m, 2);
got error with this IDE image:
err

strange encoding and without test demo.

Can you make one demo or readme about how is working ?

  • the defaul scene has nothing to test it and also when I try to find some demo scene
    I got this output over windows 10 tree command? The output file is strange is strange encoding ...
|   |   +---fc
|   |   +---fd
|   |   +---fe
|   |   \---ff
|   +---ScriptAssemblies
|   \---ShaderCache
|       +---0
|       +---2
|       +---3
|       +---4
|       +---5
|       +---6
|       +---7
|       +---9
|       +---a
|       +---b
|       +---c
|       +---d
|       \---f
+---ProjectSettings
\---Temp
    +---ProcessJobs
    \---__Backupscenes

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.