OpenGL: Lighting

Für den Aufbau eines individuellen Beleuchtungssetup eines Szenario in OpenGL gilt es einige Fallstricke zu beachten: 1. Positionierung per Frame Lichtquellen, die sicht NICHT mit der Kamera mitbewegen sollen, müssen in jedem Durchlauf der Renderloop positioniert werden. Wird eine Lichtquelle  [ Read More ]

OpenGL: Transparency

If an object is visible through another occluding (partly) translucent object, we observe the effect of transparency. In OpenGL you achieve this with so called Blending. In general an opqaue object occludes every other object that is farther away behind  [ Read More ]

OpenGL: Transparenz

Kann man ein Objekt durch ein davorliegendes (teilweise) durchsichtiges Objekt hindurch sehen, spricht man von Transparenz. In OpenGL erzielt man diesen Effekt mittels Blending. Normalerweise werden weiter vorn liegende Objekte einfach über dahinterliegende Objekte gemalt. Sie verdecken diese vollkommen. Im  [ Read More ]

This implementation example is thought to give an idea of how to realize a shader-based approach for screen space ambient occlusion. Additionally it might give a a basic introduction to shader programming with GLSL. The vector based SSAO approach is  [ Read More ]

Full Screen Quad

Some graphical operations require computations to be done on every pixel on the image plane. Any post processing steps and image filter operations in particular are typical examples. Therefor a rendering step is necessary that does not consider specific geometry  [ Read More ]