virtualx-engine/doc/deferred_format.txt

34 lines
332 B
Text
Raw Normal View History

2014-02-10 02:10:30 +01:00
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