343
edits
No edit summary |
No edit summary |
||
Line 94: | Line 94: | ||
; width | ; width | ||
: Texture width. It's possible to write 'screen' to use the physical viewport width. | : Texture width. It's possible to write 'screen' to use the physical viewport width. | ||
; screen-width-scale | ; screen-width-scale (Optional) | ||
: If 'screen' was used, this controls the width scaling factor. | : If 'screen' was used, this controls the width scaling factor. | ||
; height | ; height | ||
: Texture height. It's possible to write 'screen' to use the physical viewport height. | : Texture height. It's possible to write 'screen' to use the physical viewport height. | ||
; screen-height-scale | ; screen-height-scale (Optional) | ||
: If 'screen' was used, this controls the height scaling factor. | : If 'screen' was used, this controls the height scaling factor. | ||
; depth | ; depth | ||
: Texture depth. | : Texture depth. | ||
; | ; format | ||
Specifies the texture format. It corresponds to the ''internalformat'', ''format'' and ''type'' arguments of the OpenGL function ''glTexImage2D''. See {{simgear file|simgear/scene/viewer/CompositorBuffer.cxx}} for the latest available values. | |||
; min-filter and mag-filter (Optional) | ; min-filter and mag-filter (Optional) | ||
: They change the minification and magnification filtering respectively. Possible values are: linear, linear-mipmap-linear, linear-mipmap-nearest, nearest, nearest-mipmap-linear and nearest-mipmap-nearest. The default value for both filters is linear. | : They change the minification and magnification filtering respectively. Possible values are: linear, linear-mipmap-linear, linear-mipmap-nearest, nearest, nearest-mipmap-linear and nearest-mipmap-nearest. The default value for both filters is linear. | ||
; wrap-s, wrap-t and wrap-r (Optional) | ; wrap-s, wrap-t and wrap-r (Optional) | ||
: They change the wrap mode for each coordinate. Possible values are: clamp, clamp-to-edge, clamp-to-border, repeat and mirror. The default value for every coordinate is clamp-to-border. | : They change the wrap mode for each coordinate. Possible values are: clamp, clamp-to-edge, clamp-to-border, repeat and mirror. The default value for every coordinate is clamp-to-border. | ||
; condition | ; condition (Optional) | ||
: A valid boolean condition to enable the buffer at startup (doesn't work at runtime). | : A valid boolean condition to enable the buffer at startup (doesn't work at runtime). | ||
Line 137: | Line 137: | ||
; clear-color, clear-accum, clear-depth and clear-stencil | ; clear-color, clear-accum, clear-depth and clear-stencil | ||
: Default values are black, black, 1.0 and 0 respectively. | : Default values are black, black, 1.0 and 0 respectively. | ||
; clear- | ; clear-mask | ||
: Default | : Controls the camera clear mask. Default value is "color depth". | ||
; effect-scheme | ; effect-scheme | ||
: The pass will try to use the specified effect scheme to draw every object. | : The pass will try to use the specified effect scheme to draw every object. |
edits