mirror of
https://github.com/halpz/re3.git
synced 2025-07-09 21:08:52 +00:00
Add compatibility with RW 3.4
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
|
||||
/**
|
||||
* \defgroup rpltmap RpLtMap
|
||||
* \ingroup rpplugin
|
||||
* \ingroup lighting
|
||||
*
|
||||
* Lightmap Plugin for RenderWare Graphics.
|
||||
*/
|
||||
@ -17,6 +17,15 @@
|
||||
#include "rpworld.h"
|
||||
|
||||
|
||||
/* Used during lightmap illumination (sliver triangles are skipped
|
||||
* (their texels should be filled by dilate()), because their normals
|
||||
* can't be accurately calculated) */
|
||||
#define rpLTMAPDEFAULTSLIVERAREATHRESHOLD (0.001f)
|
||||
|
||||
/* Used during lightmap UV calculation (polySets may be
|
||||
* joined on the basis of vertices with equal positions) */
|
||||
#define rpLTMAPDEFAULTVERTEXWELDTHRESHOLD (0.1f)
|
||||
|
||||
#define rpLTMAPDEFAULTLIGHTMAPSIZE 128
|
||||
#define rpLTMAPMINLIGHTMAPSIZE 16
|
||||
#define rpLTMAPMAXLIGHTMAPSIZE 512/*?? any better way of determining this ??*/
|
||||
|
Reference in New Issue
Block a user