Merge branch 'master' of git.gitorious.org:fg/fgdata
This commit is contained in:
commit
0b49cd942c
1 changed files with 53 additions and 29 deletions
|
@ -188,21 +188,45 @@ shade-model - flat, smooth
|
|||
|
||||
texture-unit - has several child properties:
|
||||
unit - The number of an OpenGL texture unit
|
||||
type - This is either an OpenGL texture type or the name of a
|
||||
point-sprite - true, false - Whether this should rendered as a point-sprite
|
||||
type - This is either an OpenGL texture type or the name of a
|
||||
builtin texture. Currently supported OpenGL types are 1d, 2d,
|
||||
3d which have the following common parameters:
|
||||
image (file name)
|
||||
filter
|
||||
mag-filter
|
||||
wrap-s
|
||||
wrap-t
|
||||
wrap-r
|
||||
image (file name)
|
||||
filter - nearest, linear, [nearest|linear]-mipmap-[nearest|linear]
|
||||
mag-filter - nearest, linear, [nearest|linear]-mipmap-[nearest|linear]
|
||||
wrap-s - clamp, clamp-to-border, clamp-to-edge, mirror, repeat
|
||||
wrap-t - clamp, clamp-to-border, clamp-to-edge, mirror, repeat
|
||||
wrap-r - clamp, clamp-to-border, clamp-to-edge, mirror, repeat
|
||||
mipmap-control - control the mipmap on a per-channel basis. Children:
|
||||
function-r - auto, average, sum, product, min, max
|
||||
function-g - auto, average, sum, product, min, max
|
||||
function-b - auto, average, sum, product, min, max
|
||||
function-a - auto, average, sum, product, min, max
|
||||
|
||||
The following built-in types are supported:
|
||||
white - 1 pixel white texture
|
||||
noise - a 3d noise texture
|
||||
environment
|
||||
mode
|
||||
color
|
||||
noise - a 3d noise texture. (size parameter defines size of texture)
|
||||
light-sprite - a procedurally generated sprite suitable for point lights
|
||||
cubemap - build a cube-map. Children:
|
||||
images - build from 6 images. Children: [positive|negative]-[x|y|z]
|
||||
image - build from a single cross-image
|
||||
|
||||
environment
|
||||
mode - add, blend, decal, modulate, replace
|
||||
color
|
||||
|
||||
texenv-combine
|
||||
combine-[rgb|alpha] - replace, modulate, add, add-signed, interpolate, subtract, dot3-rgb, dot3-rgba
|
||||
source[0|1|2]-[rgb|alpha] - constant, primary_color, previous, texture, texture[0-7]
|
||||
operand[0|1|2]-[rgb|alpha] -src-color, one-minus-src-color, src-alpha, one-minus-src-alpha
|
||||
scale-[rgb|alpha]
|
||||
constant-color
|
||||
|
||||
texgen
|
||||
mode - object-linear, eye-linear, sphere-map, normal-map, reflection-map
|
||||
planes - s, t, r, q
|
||||
|
||||
uniform
|
||||
name
|
||||
type - float, float-vec3, float-vec4, sampler-1d, sampler-2d,
|
||||
|
|
Loading…
Add table
Reference in a new issue