Skip to content

Instantly share code, notes, and snippets.

@keiranlovett
keiranlovett / Base_Texture
Created February 6, 2014 03:38
Unreal Engine 4's Physically Based Shader Model
Shader "Base_Texture"
{
Properties
{
_DiffuseAmount ( "Diffuse Amount", Range( 0.0, 1.0 ) ) = 0.25
_TexAmount ( "Texture Amount", Range( 0.0, 1.0 ) ) = 0.25
_SpecAmount ( "Specular Amount", Range( 0.0, 16.0 ) ) = 1.0
_SpecTexAmount ( "Spec Texture Amount", Range( 0.0, 1.0 ) ) = 0.25
_Diffusemap ( "Diffusemap", 2D ) = "diffuse" {}