Radiant:
misc...
* texbro: disable alpha transparency by def; isn't good in half of cases
* find/replace: tooltip helper note about search mode
* Entity: arrowheads, showing direction of connection-lines in addition to color-code; New algorithm: are visible in all orthogonal projections
* tweak: do not render 'misc_model' & 'light' entity names
* filters: patches: +filter ones with surfaceparm playerclip
* translucent filter also works for shaders with qer_alphafunc
* filter areaportal, if single face matches (allows case with other faces, using 'skip')
* filter translucent, if single face matches
* filter liquids by surfaceparm {water, lava, slime} in addition to textures/liquids path
This commit is contained in:
@@ -774,13 +774,15 @@ bool filter( const Patch& patch ) const {
|
||||
|
||||
|
||||
filter_patch_all g_filter_patch_all;
|
||||
filter_patch_shader g_filter_patch_clip( "textures/common/clip" );
|
||||
filter_patch_flags g_filter_patch_clip( QER_CLIP );
|
||||
filter_patch_shader g_filter_patch_commonclip( "textures/common/clip" );
|
||||
filter_patch_shader g_filter_patch_weapclip( "textures/common/weapclip" );
|
||||
filter_patch_flags g_filter_patch_translucent( QER_TRANS );
|
||||
filter_patch_flags g_filter_patch_translucent( QER_TRANS | QER_ALPHATEST );
|
||||
|
||||
void PatchFilters_construct(){
|
||||
add_patch_filter( g_filter_patch_all, EXCLUDE_CURVES );
|
||||
add_patch_filter( g_filter_patch_clip, EXCLUDE_CLIP );
|
||||
add_patch_filter( g_filter_patch_commonclip, EXCLUDE_CLIP );
|
||||
add_patch_filter( g_filter_patch_weapclip, EXCLUDE_CLIP );
|
||||
add_patch_filter( g_filter_patch_translucent, EXCLUDE_TRANSLUCENT );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user