mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Fixed lighting artifacts caused by untransformed normals, added 'Scene' for holding objects for rendering, added turn table models to menus using a scene, misc other changes.
This commit is contained in:
@@ -13,7 +13,6 @@ class IMICFPS
|
||||
@dummy_entity = nil
|
||||
@assets = []
|
||||
@asset_index = 0
|
||||
add_asset(:shader, nil, "default")
|
||||
|
||||
add_asset(:model, @map_parser.terrain.package, @map_parser.terrain.name)
|
||||
add_asset(:model, @map_parser.skydome.package, @map_parser.skydome.name)
|
||||
@@ -43,6 +42,7 @@ class IMICFPS
|
||||
end
|
||||
|
||||
def update
|
||||
super
|
||||
@percentage.text = "#{((@asset_index.to_f / @assets.count) * 100.0).round}%"
|
||||
@act = true if @cycled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user