mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 12:40:34 +00:00
implemented extra model flags for backface culling and alpha test from mobile
This commit is contained in:
parent
81e462b677
commit
e97366c023
8 changed files with 418 additions and 3 deletions
|
@ -31,6 +31,14 @@ protected:
|
|||
ModelInfoType m_type;
|
||||
uint8 m_num2dEffects;
|
||||
bool m_bOwnsColModel;
|
||||
#ifdef EXTRA_MODEL_FLAGS
|
||||
public:
|
||||
// from mobile
|
||||
bool m_bIsDoubleSided;
|
||||
bool m_bIsTree;
|
||||
bool m_bCanBeIgnored; // for low-end devices
|
||||
bool RenderDoubleSided(void) { return m_bIsDoubleSided || m_bIsTree; }
|
||||
#endif
|
||||
|
||||
public:
|
||||
CBaseModelInfo(ModelInfoType type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue