mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
missing gl define
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5421 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
be27f06b76
commit
5c069300ed
2 changed files with 10 additions and 4 deletions
|
@ -84,6 +84,9 @@ extern qlpSelTexFUNC qglClientActiveTextureARB;
|
||||||
#ifndef GL_HALF_FLOAT_OES
|
#ifndef GL_HALF_FLOAT_OES
|
||||||
#define GL_HALF_FLOAT_OES 0x8D61 /*GL_OES_texture_half_float*/
|
#define GL_HALF_FLOAT_OES 0x8D61 /*GL_OES_texture_half_float*/
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_UNSIGNED_INT_24_8
|
||||||
|
#define GL_UNSIGNED_INT_24_8 0x84FA
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_multitexture
|
#ifndef GL_ARB_multitexture
|
||||||
#define GL_ARB_multitexture 1
|
#define GL_ARB_multitexture 1
|
||||||
|
|
|
@ -13,10 +13,13 @@
|
||||||
!!cvardf r_tessellation_level=5
|
!!cvardf r_tessellation_level=5
|
||||||
!!samps !EIGHTBIT diffuse normalmap specular fullbright upper lower reflectmask reflectcube
|
!!samps !EIGHTBIT diffuse normalmap specular fullbright upper lower reflectmask reflectcube
|
||||||
!!samps =EIGHTBIT paletted 1
|
!!samps =EIGHTBIT paletted 1
|
||||||
//!!permu VC -- adds rgba vertex colour multipliers
|
//!!permu VC // adds rgba vertex colour multipliers
|
||||||
//!!permu SPECULAR -- auto-added when gl_specular>0
|
//!!permu SPECULAR // auto-added when gl_specular>0
|
||||||
//!!permu OFFSETMAPPING -- auto-added when r_glsl_offsetmapping is set
|
//!!permu OFFSETMAPPING // auto-added when r_glsl_offsetmapping is set
|
||||||
//!!permu NONORMALS -- states that there's no normals available, which affects lighting.
|
//!!permu NONORMALS // states that there's no normals available, which affects lighting.
|
||||||
|
//!!permu ORM // specularmap is r:Occlusion, g:Roughness, b:Metalness
|
||||||
|
//!!permu F0R // specularmap is rgb:F0, a:Roughness (instead of exponent)
|
||||||
|
//!!permu PBR // an attempt at pbr logic
|
||||||
|
|
||||||
#include "sys/defs.h"
|
#include "sys/defs.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue