[info-performer] pfShaderPrograms and multiple channels / process

Date view Thread view Subject view Author view

From: Hugues De Keyzer (hugues++at++depinxi.be)
Date: 09/07/2005 04:23:44


Hi all,

we are using pfShaderPrograms to compute per-fragment lighting. We are accessing the light properties through the gl_LightSource uniforms. We are running on nVIDIA hardware with 76.76 drivers.

We face 2 problems:

The first one appears when running on a dual-CPU system in APPCULL_DRAW mode. When moving through the scene, the lighting seems to be computed with one frame delay, resulting in flickering. The light position seems to be updated one frame late. This doesn't appear when running with one process (APPCULLDRAW).

The second problem appears when using more than one channel in the same window. All the supplemental channels are attached to the first one. If a view offset with a rotation is applied to the first channel, the lighting becomes incorrect in the other channels, as if the light direction had been rotated.

These problems appear only when using shaders. I don't know if the problem is in the shader (which runs fine in mono-process and mono-channel), in the nVIDIA drivers or in Performer. Any clue would be appreciated.

Regards,

Hugues De Keyzer
de pinxi


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Sep 07 2005 - 04:24:21 PDT