Angus Dorbie (dorbie++at++sgi.com)
Tue, 29 Sep 1998 10:37:46 -0700
Lighting is performed at vertices only, so you must ensure
that some vertices fall inside and outside the cone to see
the effect. Improving this is the motivation for the
projective texture.
Not required:
pfLSourceVal(shad, PFLS_SHADOW_SIZE, SPOT_SIZE);
pfLSourceMode(proj, PFLS_PROJTEX_ENABLE, 1);
pfLSourceAttr(proj, PFLS_PROJ_FRUST, shadFrust);
pfLSourceAttr(proj, PFLS_PROJ_TEX, tex);
pfChanTravMode(chan, PFTRAV_MULTIPASS, PFMPASS_NONTEX_SCENE);
Cheers,Angus.
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Tue Sep 29 1998 - 11:29:09 PDT