1
\$\begingroup\$

What's the difference between physically based lighting, physically based rendering and physically based materials? How they are different from deferred and forward rendering? And physically based rendering is used in films and deferred rendering is used in games?

\$\endgroup\$
5
\$\begingroup\$

Physically based rendering basically means that you strive to have realistic materials and lighting calculations. The way you do this can vary a bit (or a lot) depending on application, but the main idea is that no material can reflect more light back than hits it, and preferably you want to measure the Bidirectional reflectance distribution function (or BRDF) of the materials you use.

To get the best results you need to spend a lot of processing power to get the lighting just right, which means it is much more applicable for films, especially mixed actor/CGI films where the difference in lighting would be much more noticeable.

For games it is very easy to make a shader which glows without casting any light or that reflects three times the light that hits it, but since these are impossible materials in real life it won't look right if the rest of your scene is realistic looking (if you use cel/toon shaders or other non realistic things this wouldn't apply of course).

You can make a game strive for physically based rendering as well, with both forward and deferred rendering, the biggest hurdle is the lighting and shadows calculations. Using a BRDF shader is relatively easy, calculating the way the sunlight through a window lights up an otherwise dark room is much harder to get right in realtime.

For a much more in depth discussion on the subject, see The Physics of Light and Rendering | A Talk by John Carmack

\$\endgroup\$
  • \$\begingroup\$ So it is like this Physically based rendering creates equations and deferred and forward rendering are ways to implement those equations? \$\endgroup\$ – Inder Gill Feb 18 '15 at 15:45
  • 1
    \$\begingroup\$ @InderGill that is a fair way to sum it up yes, just keep in mind that the equations need to be simplified to get them to run in realtime (which is why we don't have games looking like movies already) \$\endgroup\$ – Daniel Carlsson Feb 18 '15 at 15:57
  • \$\begingroup\$ What will be the next technology after physically based rendering?Any guesses!! \$\endgroup\$ – Inder Gill Feb 19 '15 at 2:55
  • \$\begingroup\$ @InderGill It will be a long time before we have that completely solved for realtime applications, see the talk I linked for some about that. What comes after making a 2d screen look like a movie? Not sure, what would be missing once you reach that point, better physics, realtime fluid/fur/cloth simulation, more accurate audio simulation. \$\endgroup\$ – Daniel Carlsson Feb 19 '15 at 23:20
1
\$\begingroup\$

Those terms are very imprecisely defined, and their definitions will vary from person to person, or from engine to engine.

There is a quick and easy introduction at this page, you may want to take a look at it.

I've only done games, so I can't tell you much about films. This being a game development Q/A, it is unlikely that you will find many people with experience in the film industry.

However, I hypothesize that for filmmaking, since a film does not need to be rendered in real time, you can use models and algorithms orders of magnitude slower that give much better results than what you can use for games.

For films you could also probably hand pick scenes and do manual postprocessing on them, or cheat a lot in the parts that are not visible to the spectator. In games you most likely won't be able to do that.

Apart from that, I assume gamemaking and filmmaking is very similar, in terms of the techniques used for rendering.

Regarding deferred and forward rendering, these terms loosely refer to the order in which rendering is performed, and cannot be compared with "physically based lighting".

To put it simply, there are lighting techniques that require deferred rendering, while others can be done with forward rendering. Some lighting techniques can be physically based or not (the definition varies according to the author).

\$\endgroup\$
  • \$\begingroup\$ I still not understood it!! \$\endgroup\$ – Inder Gill Feb 18 '15 at 6:53
  • \$\begingroup\$ IMHO this doesn't answer the question. \$\endgroup\$ – concept3d Feb 18 '15 at 8:51
  • \$\begingroup\$ The question cannot be answered, because physically based lighting, rendering and materials are very imprecise terms. Any type of lighting, rendering or material can be considered "physically based" if its calculations are inspired by some physical process, and that is pretty much every single type of non-trivial illumination out there. I've also added a clarification regarding deferred and forward rendering. \$\endgroup\$ – Panda Pajama Feb 18 '15 at 9:01
  • \$\begingroup\$ @PandaPajama They might not be strongly defined or universally accepted, but there is certain characteristics for physically based rendering that are widely known. \$\endgroup\$ – concept3d Feb 18 '15 at 9:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.