mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-04-07 18:01:16 +00:00
disabled r_normalSmoothing by default
This commit is contained in:
parent
477075c12e
commit
7879e7d26a
2 changed files with 6 additions and 3 deletions
|
@ -484,7 +484,10 @@ static const cvarTableItem_t r_cvars[] =
|
|||
"Force default shader", CVARCAT_GRAPHICS | CVARCAT_DEBUGGING, "Forces it on all world surfaces except the sky", ""
|
||||
},
|
||||
{
|
||||
&r_normalSmoothing, "r_normalSmoothing", "1", CVAR_TEMP | CVAR_LATCH, CVART_BOOL, NULL, NULL, "compute smooth vertex normals",
|
||||
// This option really needs to be disabled by default because:
|
||||
// 1. A single mesh can be split into multiple surfaces, which screws everything up at the edges.
|
||||
// 2. A lot of UGC contains duplicated vertices with slight offsets when it really shouldn't.
|
||||
&r_normalSmoothing, "r_normalSmoothing", "0", CVAR_TEMP | CVAR_LATCH, CVART_BOOL, NULL, NULL, "compute smooth vertex normals",
|
||||
"Smooth vertex normals", CVARCAT_GRAPHICS, "Computes brand new vertex normals", ""
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1167,8 +1167,8 @@ extern cvar_t *r_debugSort;
|
|||
extern cvar_t *r_debugUI;
|
||||
extern cvar_t *r_debugInput;
|
||||
|
||||
extern cvar_t *r_normalSmoothing;
|
||||
extern cvar_t *r_normalAreaWeight;
|
||||
extern cvar_t *r_normalSmoothing;
|
||||
extern cvar_t *r_normalAreaWeight;
|
||||
|
||||
|
||||
void R_NoiseInit();
|
||||
|
|
Loading…
Reference in a new issue