Reflection texture update for multiple lights

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Reflection texture update for multiple lights

Post by robmar »

Irrlicht´s current default reflection and transparency shaders works with the two nearest lights, which, in scenes with more than 2 lights, can cause flickering as the shader swaps lights.

I wanted to update the shaders and post versions that supports multiple lights, and also a pixel shader version of the transparency shader.

But all I could find was the old asm shaders, and I´m having a hard time following the asm.

Does anyone know if there is a guide to shader asm that would help translate to hlsl and glsl?

Or better still, has anyone done an hlsl or glsl version?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Reflection texture update for multiple lights

Post by mongoose7 »

Is there something in the EGL branch?
Post Reply