[go: up one dir, main page]

Menu

Commit [r12673]  Maximize  Restore  History

Implemented a system of folders under /techniques. The work is neither complete nor correct nor yet in use. I'm committing it for feedback and peer review.

Essentially, the numbered folders contain shaders and techniques for a spectrum of hardware capabilities. As you can see from the opaque_onetex.technique I implemented as example, the technique has the same in all the folders, --or most, anyways. The user setting for shader in vssetup determines the folder; the xmesh determines the name of the technique. There are also 3 folders for STAGE, meaning the render stage: FAR = planets and stars; MEDIUM = ships and stations and asteroids; NEAR is the cockpit. Shaders and techniques that are common across stages are in the numbered folders under /techniques. Stage-specific shaders and techniques are in the number folders under the appropriate stage folders. Thus, fireglass is in the MEDIUM stage folder, under folder 6_ps4.0, as it applies only to ships and stations. An atmosphere shader would be under the FAR tree. Note that there can only be one shader for all blended applications under each stage, for performance reasons. Thus "fireglass", which currently only renders glass, but will soon also apply to engine exhausts, etc.

dan_w 2010-03-01

1 2 3 .. 5 > >> (Page 1 of 5)
added /trunk/data/techniques/0_fixed_gl
added /trunk/data/techniques/0_fixed_gl/README_fixed_gl.txt
added /trunk/data/techniques/0_fixed_gl/fixedgl.technique
added /trunk/data/techniques/1_ps1.2
added /trunk/data/techniques/1_ps1.2/README_ps1.2.txt
added /trunk/data/techniques/1_ps1.2/fixed.fp
added /trunk/data/techniques/1_ps1.2/fixed5.vp
added /trunk/data/techniques/1_ps1.2/opaque_onetex.technique
added /trunk/data/techniques/2_ps1.4
added /trunk/data/techniques/2_ps1.4/README_ps1.4.txt
added /trunk/data/techniques/2_ps1.4/opaque.technique
added /trunk/data/techniques/2_ps1.4/opaque_onetex.technique
added /trunk/data/techniques/3_ps2.0
added /trunk/data/techniques/3_ps2.0/README_ps2.0.txt
added /trunk/data/techniques/3_ps2.0/opaque_onetex.technique
added /trunk/data/techniques/4_ps2.0b
added /trunk/data/techniques/4_ps2.0b/README_ps2.0b.txt
added /trunk/data/techniques/4_ps2.0b/opaque.technique
added /trunk/data/techniques/4_ps2.0b/opaque_onetex.technique
added /trunk/data/techniques/5_ps3.0
added /trunk/data/techniques/5_ps3.0/README_ps3.0.txt
added /trunk/data/techniques/5_ps3.0/default.fp
added /trunk/data/techniques/5_ps3.0/default.vp
added /trunk/data/techniques/5_ps3.0/opaque.technique
added /trunk/data/techniques/5_ps3.0/opaque_onetex.technique
1 2 3 .. 5 > >> (Page 1 of 5)