Blender Git Loki

Git Commits -> Revision fe44eac

Revision fe44eac by Alexander Romanov (master)
July 4, 2016, 08:01 (GMT)
Environment lighting for the GLSL mode

Environment lighting (aka ambient) is a key component of any renderer.
It's implemented like the Environment lighting of BI render for Approximate Gather mode. It support "Sky Color" and "White" Environment lighting modes.

It would be great if the user could see actual lighting conditions right in the Blender viewport instead of waiting for the renderer to complete the final image, exporting for external renderer or for a game engine.

Before:
{F113921}

After:
{F113922}

Example file: {F319013}

Original author: valentin_b4w

Alexander (Blend4Web Team)

Reviewers: valentin_b4w, campbellbarton, merwin, brecht

Reviewed By: brecht

Subscribers: panzergame, youle, duarteframos, AlexKowel, yurikovelenov, dingto, Evgeny_Rodygin

Projects: #rendering, #opengl_gfx

Differential Revision: https://developer.blender.org/D810

Commit Details:

Full Hash: fe44eacf78736f99bdfd3bc3ac86abd17e8ad514
Parent Commit: 9269574
Lines Changed: +90, -13

10 Modified Paths:

/release/scripts/startup/bl_ui/properties_game.py (+27, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -0) (Diff)
/source/blender/gpu/GPU_material.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+33, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+7, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_world.c (+12, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021