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:
@@ -633,7 +633,7 @@ bool ShaderTemplate::parseDoom3( Tokeniser& tokeniser ){
|
||||
m_nFlags |= QER_NONSOLID;
|
||||
}
|
||||
else if ( string_equal_nocase( token, "liquid" ) ) {
|
||||
m_nFlags |= QER_WATER;
|
||||
m_nFlags |= QER_LIQUID;
|
||||
}
|
||||
else if ( string_equal_nocase( token, "areaportal" ) ) {
|
||||
m_nFlags |= QER_AREAPORTAL;
|
||||
@@ -1266,11 +1266,10 @@ bool ShaderTemplate::parseQuake3( Tokeniser& tokeniser ){
|
||||
else if ( string_equal_nocase( surfaceparm, "nonsolid" ) ) {
|
||||
m_nFlags |= QER_NONSOLID;
|
||||
}
|
||||
else if ( string_equal_nocase( surfaceparm, "water" ) ) {
|
||||
m_nFlags |= QER_WATER;
|
||||
}
|
||||
else if ( string_equal_nocase( surfaceparm, "lava" ) ) {
|
||||
m_nFlags |= QER_LAVA;
|
||||
else if ( string_equal_nocase( surfaceparm, "water" ) ||
|
||||
string_equal_nocase( surfaceparm, "lava" ) ||
|
||||
string_equal_nocase( surfaceparm, "slime") ){
|
||||
m_nFlags |= QER_LIQUID;
|
||||
}
|
||||
else if ( string_equal_nocase( surfaceparm, "areaportal" ) ) {
|
||||
m_nFlags |= QER_AREAPORTAL;
|
||||
|
||||
Reference in New Issue
Block a user