virtualx-engine/doc/deferred_format.txt
2014-02-09 22:10:30 -03:00

33 lines
332 B
Text

deferred:
ar ag ab gl - accumulation RGB + glow
nx ny mx my? - normal, motion
dr dg db sm - diffuse, shademodel
sr sg sb sp - specular OR shadeparams
ar ag ab gl
nx ny sp sp
dr dg db se
444 6
se can be 6 bits, 2 for shade model
shade models:
0 - none
1 - wrap
2 - toon
3 - fresne
sp: 2 bits what - 6 bits param
16