Git Product home page Git Product logo

xyz.vasd.proto-paper's Introduction

Xyz.Vasd.ProtoPaper

Contains shaders for prototype grid and ruler. It's based on Shader Graph with few custom .hlsl functions and includes.

Preview

Install

From github

  • Click + button in Package Manager window
  • Choose Add package from git URL...
  • Type https://github.com/vasdxyz/xyz.vasd.proto-paper.git

That's it!

Getting Started

There are two shaders:

Xyz.Vasd/ProtoPaper/ProtoPaper-Lit for lite version

and

Xyz.Vasd/ProtoPaper/ProtoPaper-Unlit for unlit version.

Demo Scenes

Note, you can install only your currently using Render Pipeline subfolder.

HDRP

Packages/xyz.vasd.proto-paper/Content/Demo/HDRP/XV@[email protected]

URP

Packages/xyz.vasd.proto-paper/Content/Demo/URP/XV@[email protected]

Built-In

Packages/xyz.vasd.proto-paper/Content/Demo/BuiltIn/XV@[email protected]

Shader properties

Below are listed all properties to set in material.

Orientaion

Local means grid zero point is determined by mesh zero point (pivot).

Global means grid zero point is world coordinates zero (0, 0, 0).

Text Scale

0 - 1

Scale of printed text (Grid Size and Grid Position).

Grid

Settings for main grid.

Grid

Boolean.

Enable/Disable grid cells rendering.

Grid Text

Boolean.

Enable/Disable grid text (cell size and position) rendering.

Grid Size

Slider: 0 - 999

Determines main grid cell size in units. Note, it's floored in the shader, so it's like an interger. For example, 10.5 will be 10.

Grid Border

Slider: 0 - 1

Size of grid border in percent of cell size cell size.

Grid Fade Distance

Float.

Determines the distance on which grid will be totaly faded out.

0 means fading is disabled.

Note, it's scaled according to cell and border size.

Grid Color

Color.

Grid borders and text color.

Subgrid

Properties for subgrid.

Subgrid

Boolean.

Enable/Disable subgrid cells rendering.

Subgrid Text

Boolean.

Enable/Disable subgrid text (cell size and position) rendering.

Subgrid Cells

Number of cells per each main grid cell.

Subgrid Fade Distance

Float.

Determines the distance on which subgrid will be totaly faded out.

0 means fading is disabled.

Note, it's scaled according to cell and border size.

Subgrid Color

Color.

Subgrid borders and text color.

Background

Basic background color and texture.

Background Tint.

Color.

Background tint.

Background Texture.

Texture.

Background texture for cells. Each cell has uv from 0,0 to 1,1, so it will be tiled according to main grid cell size.

xyz.vasd.proto-paper's People

Contributors

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