great engine by the by quick question about the Cartoon Shader
Looking through the latest version samples I noticed that there is no color in the Cartoon shader sample, even though the screen shot has the dragon colored. I’m guessing this may be is a new version bug. Any words of wisdom to help fix the bug would be greatly appreciated.
All this line means is: transfer the vertex color over to the l_color which can be used in the fragment shader.
That means: The cartoon shader uses the vertex colors to define the color. You can also use a texture on the model, but for that you’ll have to write a few lines that it reads from the texture instead of the vertex color.
Odd. We’ve encountered in our project the same problem, vertex colors which are messed up. As a workaround we are now using textures instead of vertex colors.
Though, the problem here does not occur on the older GeForce cards (I have a 5200 FX without the problem) but on the newer GeForce it does occur. What card do you have?
I’d rather see this bug fixed. Does anyone know why this bug could be there in the new versions and not in the old? drwr/Josh, perhaps you could shine more light on this problem? It appears only to happen on the newer cards, which is very odd. Has any big shadersystem rewrite happened in the latest versions?