GithubHelp home page GithubHelp logo

llamacademy / vertex-color-blended-shader Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 9.99 MB

Learn how blend between 2 (or more) textures using Vertex Colors in a Shader

Home Page: https://youtu.be/zt21itB0ESw

License: MIT License

ShaderLab 87.67% HLSL 12.33%
game-development gamedev gamedevelopment shader-graph shadergraph shaders unity unity3d

vertex-color-blended-shader's Introduction

Waves in ShaderGraph (URP)

In this tutorial repository and accompanying video you will learn how blend between 2 (or more) textures using Vertex Colors. This gives you a similar experience to using the Terrain Tools to paint on a Terrain, but on a mesh!

To achieve the painting, we're using PolyBrush, a free Unity Package. To subdivide objects to ensure high enough polygon count for the Vertex Colors, we're using ProBuilder, another free Unity Package.

Youtube Tutorial

Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to the LlamAcademy Patreon Page or join as a YouTube Member to show your support.

Phenomenal Supporter Tier

  • Andrew Bowen
  • YOUR NAME HERE!

Tremendous Supporter Tier

  • Bruno Bozic
  • YOUR NAME HERE!

Awesome Supporter Tier

  • AudemKay
  • Ivan
  • Reulan
  • Iffy Obelus
  • SolarInt
  • Perry
  • YOUR NAME HERE!

Supporters

  • Trey Briggs
  • Matt Sponholz
  • Dr Bash
  • Tarik
  • Sean
  • Elijah Singer
  • Lurking Ninja
  • Josh Meyer
  • Ewald Schulte
  • Andrew Allbright
  • AudemKay
  • Claudiu BARSAN-PIPU
  • Ben
  • Xuul
  • Christiaan van Steenwijk
  • Joseph Janosko
  • Chimera Dev
  • Wendy Whitner
  • YOUR NAME HERE!

Other Projects

Interested in other Topics in Unity?

Requirements

  • This was implemented with Universal Render Pipeline, but it works on Built-in and HDRP as well.
  • I'm using Unity 2022.3 LTS, but this functionality should be working on pretty much any modern version of Unity that support:
    • PolyBrush (included in Unity Package Manager dependencies)
    • ProBuilder (included in Unity Package Manager dependencies)
    • ShaderGraph (included in Unity Package Manager dependencies)

vertex-color-blended-shader's People

Stargazers

 avatar  avatar

Watchers

 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.