UPBGE 0.3 Pinball Game Engine

Great congrats for steadily improving your project!

Was curious if there wasn’t a way to set this in game.

One time “always” sensor:

import bpy
for s in bpy.data.screens:
    for a in s.areas:
        if a.type=='VIEW_3D':
            a.spaces[0].shading.use_scene_lights_render = True
            a.spaces[0].shading.use_scene_world_render = True
1 Like