26 lines
723 B
HLSL
26 lines
723 B
HLSL
//////////////////////////////////////////////////////
|
|
// MK Toon Depth Only Setup //
|
|
// //
|
|
// Created by Michael Kremmel //
|
|
// www.michaelkremmel.de //
|
|
// Copyright © 2021 All rights reserved. //
|
|
//////////////////////////////////////////////////////
|
|
|
|
#ifndef MK_TOON_DEPTH_ONLY_SETUP
|
|
#define MK_TOON_DEPTH_ONLY_SETUP
|
|
|
|
#ifndef MK_DEPTH_ONLY_PASS
|
|
#define MK_DEPTH_ONLY_PASS
|
|
#endif
|
|
|
|
#include "../Core.hlsl"
|
|
|
|
//Hightmap is only needed if a UV is required
|
|
#if !defined(MK_TEXCLR) && !defined(MK_DISSOLVE)
|
|
#ifdef MK_PARALLAX
|
|
#undef MK_PARALLAX
|
|
#endif
|
|
#endif
|
|
|
|
#include "ProgramDepthOnly.hlsl"
|
|
#endif |