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:
|
texture-unit - has several child properties:
|
||||||
unit - The number of an OpenGL texture unit
|
unit - The number of an OpenGL texture unit
|
||||||
|
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
|
type - This is either an OpenGL texture type or the name of a
|
||||||
builtin texture. Currently supported OpenGL types are 1d, 2d,
|
builtin texture. Currently supported OpenGL types are 1d, 2d,
|
||||||
3d which have the following common parameters:
|
3d which have the following common parameters:
|
||||||
image (file name)
|
image (file name)
|
||||||
filter
|
filter - nearest, linear, [nearest|linear]-mipmap-[nearest|linear]
|
||||||
mag-filter
|
mag-filter - nearest, linear, [nearest|linear]-mipmap-[nearest|linear]
|
||||||
wrap-s
|
wrap-s - clamp, clamp-to-border, clamp-to-edge, mirror, repeat
|
||||||
wrap-t
|
wrap-t - clamp, clamp-to-border, clamp-to-edge, mirror, repeat
|
||||||
wrap-r
|
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:
|
The following built-in types are supported:
|
||||||
white - 1 pixel white texture
|
white - 1 pixel white texture
|
||||||
noise - a 3d noise texture
|
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
|
environment
|
||||||
mode
|
mode - add, blend, decal, modulate, replace
|
||||||
color
|
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
|
uniform
|
||||||
name
|
name
|
||||||
type - float, float-vec3, float-vec4, sampler-1d, sampler-2d,
|
type - float, float-vec3, float-vec4, sampler-1d, sampler-2d,
|
||||||
|
|
Loading…
Add table
Reference in a new issue