#117 2.2.6 shaders compiled with wrong version

open
nobody
None
5
2009-09-07
2009-09-07
Leon
No

The shaders under Pixie/shaders/ seem to come precompiled when I download the package--that is, './configure && make && make install' does not rebuild the shaders. That is a problem because, in the 2.2.6 package, they were compiled with version 2.2.5. That causes 'rdnr' to fail to read them, instead giving errors like attached below. The fix for this is to have 'make' or 'make install' or *something* rebuild the shaders.

./sphere.rib (10): Error in shader "/opt/pixie/shaders/ambientlight.sdr" (0) ("syntax error") (v2.2.6)
./sphere.rib (10): Failed to find shader "ambientlight"
./sphere.rib (12): Error in shader "/opt/pixie/shaders/pointlight.sdr" (0) ("syntax error") (v2.2.6)
./sphere.rib (12): Failed to find shader "pointlight"
./sphere.rib (16): Error in shader "/opt/pixie/shaders/matte.sdr" (0) ("syntax error") (v2.2.6)
./sphere.rib (16): Failed to find shader "matte"

Discussion

  • Leon
    Leon
    2009-09-07

    Oh, I should have said--this is a very serious error for beginners like me, who have to debug the shader file before we can even use the basic features of Pixie. It makes it very hard for you to gain new users.