Tried to add code to completely kill a game when returning to main menu, so that a new one can be started, but doesn't really work, I just get some weird cast error between effect and basiceffect when starting a second new game...
Merge branch 'menu' of https://github.com/MintL/datx02-rally into menu
Started working on sound, creating the (probably) needed managers and such. !!Don't try using anything!! There are currently no supporting sound libraries
Forgot project file
Fixes!
Started with shadowmapoptimizations
HUGE commit. Took all day, shadowmap working for first segment
Shadowmaps works for all flat segments, frustum culling implemented, 60 fps
Shadowmaps optimized good enough for now
Added GameObject and implemented the trees to use the class.
Added point lights to the graphical objects list and implemented view frustum culling on the objects.
Deleted PostProcess.fx and removed some unused lines of code.
Added support for prelighting on the trees.
Added a birch and changed how the material is created before the objects are created.
Added variation to the birches.
Tried putting trees all over the place but I need to find a way to not put them on the road.
Added stone object.
Added another stone variant and normal map.
Added fireflies to the trees. But they don't light yet.
Enabled border on overlaymenus. Had to redo borders since they no longer lined up with the background. For some reason, does not work with the optionsmenu, but everywhere else.