Texture Only

From Unify Community Wiki
Revision as of 20:12, 12 November 2009 by Jessy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Author: Jessy

Description

This is a seriously simple shader. It just textures your model with a single map, exactly how you painted it. No lights, no tinting; it's your job to make it look good, when you use this!  :-D

Usage

Drag a single texture onto the material's only variable slot.

ShaderLab - Texture Only.shader

<shaderlab>Shader "Texture Only" {

Properties { _MainTex ("Texture", 2D) = "" }

SubShader { Pass { SetTexture [_MainTex] } }

}</shaderlab>

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox