I
I
IliaNeverov2021-07-23 14:23:13
OpenGL
IliaNeverov, 2021-07-23 14:23:13

How can I make lighting work on objects that use different shader programs for rendering?

The two different models use different shader programs for rendering, and lighting should work on all of them. Please tell me, is it possible to do this by stuffing lighting into one shader / shader program?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IliaNeverov, 2021-07-24
@IliaNeverov

I asked on another forum and they said that deferred rendering will help with this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question