Giter Club home page Giter Club logo

2d-shaders-book-foundations-exercises's Introduction

2D Shader Development Book I - Foundations - Exercises

These are the Unity project files for the exercises in the first book of the 2D Shader Development Book.

Exercise 1 - Endless Scroller Background

Open the project called Exercise 1 - Side Scroller Background. The idea is to use the texture shader we created in the Fragment Shader Basics chapter of the book and modify it to create a background that scrolls infinitely. Also, you’ll need to be able to set the speed by which it moves using a shader Property.

Acknowledgements:

Exercise 2 - Blending Modes

Open the scene called Exercise 2 - Blending Modes and go through each of the sprites in the screen (except the background) and make them use the blending mode that its name suggests. For example find the object called Multiply and make it use the Multiply blending mode. Do the same for Alpha Blend, Additive and Subtractive. This exercise should be easy and quick to do, only remember to keep in mind the blending equation that Unity uses, which was presented in the previous sections.

Acknowledgements:

2d-shaders-book-foundations-exercises's People

Contributors

frantufro avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

platefaces

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.