ofxShadersFX icon indicating copy to clipboard operation
ofxShadersFX copied to clipboard

Shading fails with multiple lights?

Open cwervo opened this issue 6 years ago • 2 comments

When I open the example_Lighting project only the blue light's lighting seems to reflect off the sphere, the red and green lights have no shading & are just pure red or green. Also, when they intersect the color goes to black.

screen shot 2018-03-22 at 4 53 54 pm

Intended result:

Intended shader result

cwervo avatar Mar 22 '18 23:03 cwervo

hello,

this is a rather old project.

I rarely use OF these days, so it's possible something has changed and broke the add-on in recent versions.

I'll install the latest version and see what it looks like on my side. FYI I only have NVidia GPUs at hand, but it seems unlikely this would be a hardware-related bug.

Scylardor avatar Mar 26 '18 11:03 Scylardor

Gotcha, I understand it's old now, I was just looking through to find examples of shaders + lighting in OF. Thanks for taking a look, but no worries if you can't get to it!

cwervo avatar Mar 26 '18 19:03 cwervo