The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Difference between revisions of "Legacy:PolyFlags"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(PolyFlags is not a class.)
m (+column "Bit", +wikitable, +PolyFlags 8 and 32)
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
After you entered the number you need to rebuild to see the change.
 
After you entered the number you need to rebuild to see the change.
  
Here's the list.  Flags with no effect are left out:
+
Here's the list:
  
{|
+
{|class="wikitable"
  
|-
+
|'''Bit'''
|'''Flag'''
+
|'''Value'''
 
|'''Name'''
 
|'''Name'''
 
|'''Description'''  
 
|'''Description'''  
 
|-
 
|-
| style="text-align: right" |0
+
|
 +
|style="text-align: right" |0
 
|Default
 
|Default
 
|Use settings from Surface Properties for each individual surface of the brush.
 
|Use settings from Surface Properties for each individual surface of the brush.
 
|-
 
|-
| style="text-align: right" |1
+
|style="text-align: right" |0
 +
|style="text-align: right" |1
 
|Invisible
 
|Invisible
 
|All surfaces of the brush are invisible
 
|All surfaces of the brush are invisible
 
|-
 
|-
| style="text-align: right" |2
+
|style="text-align: right" |1
 +
|style="text-align: right" |2
 
|Masked
 
|Masked
 
|Use for palettized textures to make the first color in the palette (in Paint Shop Pro at least) invisible, see [[Legacy:Color Blending|Color Blending]]
 
|Use for palettized textures to make the first color in the palette (in Paint Shop Pro at least) invisible, see [[Legacy:Color Blending|Color Blending]]
 
|-
 
|-
| style="text-align: right" |4
+
|style="text-align: right" |2
 +
|style="text-align: right" |4
 
|Translucent
 
|Translucent
|Darker parts of the textur become transparent, see [[Legacy:Color Blending|Color Blending]]
+
|Darker parts of the texture become transparent, see [[Legacy:Color Blending|Color Blending]]
 
|-
 
|-
| style="text-align: right" |16
+
|style="text-align: right" |3
 +
|style="text-align: right" |8
 +
|Non-solid brush
 +
|
 +
|-
 +
|style="text-align: right" |4
 +
|style="text-align: right" |16
 
|Force View Zone
 
|Force View Zone
 +
|
 
|-
 
|-
| style="text-align: right" |64
+
|style="text-align: right" |5
 +
|style="text-align: right" |32
 +
|Semi-solid brush
 +
|
 +
|-
 +
|style="text-align: right" |6
 +
|style="text-align: right" |64
 
|Modulated
 
|Modulated
 
|Greyer parts of the texture become transparent, see [[Legacy:Color Blending|Color Blending]]
 
|Greyer parts of the texture become transparent, see [[Legacy:Color Blending|Color Blending]]
 
|-
 
|-
| style="text-align: right" |128
+
|style="text-align: right" |7
 +
|style="text-align: right" |128
 
|Fake Backdrop
 
|Fake Backdrop
 
|Parallax [[Legacy:SkyBox|SkyBox]] visible through surface
 
|Parallax [[Legacy:SkyBox|SkyBox]] visible through surface
 
|-
 
|-
| style="text-align: right" |256
+
|style="text-align: right" |8
 +
|style="text-align: right" |256
 
|Two Sided
 
|Two Sided
 
|Surfaces display their texture from both sides
 
|Surfaces display their texture from both sides
 
|-
 
|-
| style="text-align: right" |512
+
|style="text-align: right" |9
 +
|style="text-align: right" |512
 
|U-Pan
 
|U-Pan
 
|Texture moves in U direction, change speed in [[Legacy:ZoneInfo|ZoneInfo]] or [[Legacy:LevelInfo|LevelInfo]] -> ZoneLight
 
|Texture moves in U direction, change speed in [[Legacy:ZoneInfo|ZoneInfo]] or [[Legacy:LevelInfo|LevelInfo]] -> ZoneLight
 
|-
 
|-
| style="text-align: right" |1024
+
|style="text-align: right" |10
 +
|style="text-align: right" |1024
 
|V-Pan
 
|V-Pan
 
|Texture moves in V direction, change speed in [[Legacy:ZoneInfo|ZoneInfo]] or [[Legacy:LevelInfo|LevelInfo]] -> ZoneLight
 
|Texture moves in V direction, change speed in [[Legacy:ZoneInfo|ZoneInfo]] or [[Legacy:LevelInfo|LevelInfo]] -> ZoneLight
 
|-
 
|-
| style="text-align: right" |2048
+
|style="text-align: right" |11
 +
|style="text-align: right" |2048
 
|No Smooth
 
|No Smooth
 
|Square pixels
 
|Square pixels
 
|-
 
|-
| style="text-align: right" |4096
+
|style="text-align: right" |12
 +
|style="text-align: right" |4096
 
|Special Poly
 
|Special Poly
 
|Doesn't do a lot
 
|Doesn't do a lot
 
|-
 
|-
| style="text-align: right" |8192
+
|style="text-align: right" |13
|Small Wavy  
+
|style="text-align: right" |8192
 +
|Small Wavy
 +
|
 
|-
 
|-
| style="text-align: right" |32768
+
|style="text-align: right" |14
 +
|style="text-align: right" |16384
 +
|
 +
|
 +
|-
 +
|style="text-align: right" |15
 +
|style="text-align: right" |32768
 
|Low Shadow Detail
 
|Low Shadow Detail
 
|Reduces shadow detail; in conjunction with ''High Shadow Detail'' (below), makes extra low shadow detail
 
|Reduces shadow detail; in conjunction with ''High Shadow Detail'' (below), makes extra low shadow detail
 
|-
 
|-
| style="text-align: right" |262144
+
|style="text-align: right" |16
 +
|style="text-align: right" |65536
 +
|
 +
|
 +
|-
 +
|style="text-align: right" |17
 +
|style="text-align: right" |131072
 +
|
 +
|
 +
|-
 +
|style="text-align: right" |18
 +
|style="text-align: right" |262144
 
|Dirty Shadows
 
|Dirty Shadows
 +
|
 
|-
 
|-
| style="text-align: right" |524288
+
|style="text-align: right" |19
 +
|style="text-align: right" |524288
 
|Bright Corners
 
|Bright Corners
 
|No dark  shadows at the edges of the surface
 
|No dark  shadows at the edges of the surface
 
|-
 
|-
| style="text-align: right" |1048576
+
|style="text-align: right" |20
 +
|style="text-align: right" |1048576
 
|Special Lit
 
|Special Lit
 
|Surface only gets light from [[Legacy:Special Lit|Special Lit]] lights
 
|Surface only gets light from [[Legacy:Special Lit|Special Lit]] lights
 
|-
 
|-
| style="text-align: right" |2097152
+
|style="text-align: right" |21
 +
|style="text-align: right" |2097152
 
|No Bounds Reject
 
|No Bounds Reject
 +
|
 
|-
 
|-
| style="text-align: right" |4194304
+
|style="text-align: right" |22
 +
|style="text-align: right" |4194304
 
|Unlit
 
|Unlit
|Surface ignores lighting and is fullbright
+
|Surface ignores lighting and is full bright
 
|-
 
|-
| style="text-align: right" |8388608
+
|style="text-align: right" |23
 +
|style="text-align: right" |8388608
 
|High Shadow Detail
 
|High Shadow Detail
 
|Enhances shadow detail
 
|Enhances shadow detail

Revision as of 23:22, 19 January 2016

In the properties of a Brush, under Brush -> PolyFlags you can give all surfaces of the brush default properties that override the Surface Flags (UT) in the Surface Properties window.

In PolyFlags you have to enter a number, what follows is a list of the meaning of all the numbers.

To give a brush two or more properties at the same time, you need to make the sum of the numbers of both properties. For example if you want a Translucent + TwoSided brush, you have to use the number 4 + 256 = 260.

After you entered the number you need to rebuild to see the change.

Here's the list:

Bit Value Name Description
0 Default Use settings from Surface Properties for each individual surface of the brush.
0 1 Invisible All surfaces of the brush are invisible
1 2 Masked Use for palettized textures to make the first color in the palette (in Paint Shop Pro at least) invisible, see Color Blending
2 4 Translucent Darker parts of the texture become transparent, see Color Blending
3 8 Non-solid brush
4 16 Force View Zone
5 32 Semi-solid brush
6 64 Modulated Greyer parts of the texture become transparent, see Color Blending
7 128 Fake Backdrop Parallax SkyBox visible through surface
8 256 Two Sided Surfaces display their texture from both sides
9 512 U-Pan Texture moves in U direction, change speed in ZoneInfo or LevelInfo -> ZoneLight
10 1024 V-Pan Texture moves in V direction, change speed in ZoneInfo or LevelInfo -> ZoneLight
11 2048 No Smooth Square pixels
12 4096 Special Poly Doesn't do a lot
13 8192 Small Wavy
14 16384
15 32768 Low Shadow Detail Reduces shadow detail; in conjunction with High Shadow Detail (below), makes extra low shadow detail
16 65536
17 131072
18 262144 Dirty Shadows
19 524288 Bright Corners No dark shadows at the edges of the surface
20 1048576 Special Lit Surface only gets light from Special Lit lights
21 2097152 No Bounds Reject
22 4194304 Unlit Surface ignores lighting and is full bright
23 8388608 High Shadow Detail Enhances shadow detail