- r_roundImagesDown 2 - nonpowerof2 (NPOT) support. No extension checking added yet; use at your own risk! (intended for buffer effects)
- r_parseStageSimple - working towards pcx2 support by loading shader stages with the texture last, to approximate blending functions by processing them into having alpha channels (or not, for opaque surfaces). Because I can. - leifx filter change - indicate number of passes to the shader, so the pixel blurring order can be tweaked to further perfection (ridding the left pixel check as that happens)
This commit is contained in:
@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include "../qcommon/q_shared.h"
|
||||
#include "../qcommon/qfiles.h"
|
||||
#include "../qcommon/qcommon.h"
|
||||
|
||||
#include "../renderercommon/tr_public.h"
|
||||
#include "../renderercommon/tr_common.h"
|
||||
#include "../renderercommon/iqm.h"
|
||||
@@ -316,6 +317,10 @@ typedef struct {
|
||||
int isBlend; // leilei - for leifx
|
||||
qboolean isLeiShade; // leilei - for the automatic shader
|
||||
qhandle_t program;
|
||||
|
||||
int imgWidth;
|
||||
int imgHeight; //leilei for glsl shaders
|
||||
|
||||
} shaderStage_t;
|
||||
|
||||
struct shaderCommands_s;
|
||||
@@ -1344,7 +1349,7 @@ extern cvar_t *r_flaresDlightScale;
|
||||
//extern cvar_t *r_flaresSurfradii;
|
||||
|
||||
extern cvar_t *r_alternateBrightness; // leilei - alternate brightness
|
||||
|
||||
extern cvar_t *r_parseStageSimple; // Leilei - handling textures into alphas
|
||||
extern cvar_t *r_leifx; // Leilei - leifx nostalgia filter
|
||||
extern cvar_t *r_modelshader; // Leilei - new model shading
|
||||
|
||||
|
Reference in New Issue
Block a user