You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
360d078ca3
#rnx #rb none [CL 10871248 by Marc Audy in Main branch]
20 lines
805 B
Plaintext
20 lines
805 B
Plaintext
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
MinMaterialTexCoords.usf: Definition allowing implementing MinMaterialTexCoords.
|
|
=============================================================================*/
|
|
|
|
// Allow some shader types to change the number of coords used.
|
|
|
|
#if MIN_MATERIAL_TEXCOORDS > NUM_MATERIAL_TEXCOORDS_VERTEX
|
|
#undef NUM_MATERIAL_TEXCOORDS_VERTEX
|
|
#define NUM_MATERIAL_TEXCOORDS_VERTEX MIN_MATERIAL_TEXCOORDS
|
|
#endif
|
|
|
|
#if MIN_MATERIAL_TEXCOORDS > NUM_MATERIAL_TEXCOORDS
|
|
#undef NUM_MATERIAL_TEXCOORDS
|
|
#define NUM_MATERIAL_TEXCOORDS MIN_MATERIAL_TEXCOORDS
|
|
#undef NUM_TEX_COORD_INTERPOLATORS
|
|
#define NUM_TEX_COORD_INTERPOLATORS (MIN_MATERIAL_TEXCOORDS + NUM_CUSTOM_VERTEX_INTERPOLATORS)
|
|
#endif
|