GithubHelp home page GithubHelp logo

rikovmike / yetanotherdemakeshader Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1002 KB

Simple fullscreen render shader for demake projects

Home Page: https://rikovmike.ru

License: MIT License

ShaderLab 100.00%

yetanotherdemakeshader's Introduction

Yet Another Demake Shader (Unity)

alt text

Simple fullscreen render shader for demake projects. Contains only one shader file and two helper images. No additional scripts or other garbage stuff.

How To Use

Use this shader on the material of your final render texture. In the material, you need to set the palette parameter and the dithering texture. Use only single-pixel images as a palette (for example, from lospec.com ).

The Color Count parameter is set to 256 by default. You can set it to the number of colors in your palette to eliminate unnecessary calculations. A larger number of colors in the parameter does not affect the final image in any way.

Use the dithering texture included. Use the Dither Treshold slider to fine-tune the dithering effect: from zero (solid effect) to one (no effect).

Refer to the demo scene as a reference for setting up the render. Works on any type of project - both 2D and 3D. It can be configured on ready-made projects and templates.

alt text

Demo

Get the *.unitypackage from releases and import it into your project. Check demo scene from imported package for basic rendering setup. Have fun!

yetanotherdemakeshader's People

Contributors

rikovmike avatar

Stargazers

 avatar Gregory Dudnikof avatar

Watchers

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