Skip to Main Content
Mastering LibGDX Game Development
book

Mastering LibGDX Game Development

by Patrick Hoey
November 2015
Beginner to intermediate content levelBeginner to intermediate
420 pages
9h 2m
English
Packt Publishing
Content preview from Mastering LibGDX Game Development

Static lighting

An effect that really enhances the mood of any video game is some lighting model, either static or dynamic. Static lighting deals specifically with pre-rendered lightmap layers which, when blended with the map layers, can produce a very nice effect of having light sources baked into the rendered textures. Dynamic lighting gives nice shadow effects to objects as well as light sources that are calculated every frame. Dynamic lighting is much more involved than static lighting, dealing with writing shaders (code segments) that are sent to the rendering pipeline and eventually rasterized in the framebuffer. Due to the extra computation overhead as well as additional complexity involved, we will focus in this section simply on implementing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Libgdx Game Development

Learning Libgdx Game Development

Andreas Oehlke
Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook

David Saltares Márquez, Alberto Cejas Sánchez
Learning LibGDX Game Development - Second Edition

Learning LibGDX Game Development - Second Edition

Suryakumar Balakrishnan Nair, Andreas Oehlke

Publisher Resources

ISBN: 9781785289361Supplemental Content