diff options
Diffstat (limited to 'assets/opensb/objects')
-rw-r--r-- | assets/opensb/objects/opensb/object.patch.lua | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/assets/opensb/objects/opensb/object.patch.lua b/assets/opensb/objects/opensb/object.patch.lua index df783ac..45ecf23 100644 --- a/assets/opensb/objects/opensb/object.patch.lua +++ b/assets/opensb/objects/opensb/object.patch.lua @@ -1,6 +1,22 @@ +--local function drop(color) +-- if type(color) == "table" then +-- for i = 1, #color do +-- color[i] = color[i] * 0.8 +-- end +-- end +--end + function patch(object, path) if object.pointLight ~= true and (object.lightColor or object.lightColors) then object.lightType = "PointAsSpread" - return object; + return object + --elseif type(object.lightColor) == "table" then + -- drop(object.lightColor) + -- return object + --elseif type(object.lightColors) == "table" then + -- for i, v in pairs(object.lightColors) do + -- drop(v) + -- end + -- return object end end
\ No newline at end of file |