diff --git a/src/scene.nim b/src/scene.nim index da587fc..38c3156 100644 --- a/src/scene.nim +++ b/src/scene.nim @@ -549,6 +549,11 @@ proc get_lighting_code_defines*(self: Scene): seq[string] = "#define MAX_CUBE_MAPS " & $(if self.isNil: 0 else: self.max_cubemaps), "#define MAX_SPHERICAL_HARMONICS " & $(if self.isNil: 0 else: self.max_spherical_harmonics), "#define USE_SHADOW_SAMPLERS " & $(USE_SHADOW_SAMPLERS.int), + when defined(ios): + "#define MYOU_IOS" + elif defined(android): + "#define MYOU_ANDROID" + else: "" ] proc get_lighting_code*(self: Scene): string =