Commit Graph

9 Commits (b79959979a94f812770427a4636086d13db23383)

Author SHA1 Message Date
Andrew Tribick b79959979a Extract inner types from Material and Mesh
- Remove using namspace cmod
- Convert enums to enum classes
2021-12-04 09:49:52 +01:00
Hleb Valoshka 359ee75e81 Remove unused deprecated parameter 2020-04-06 20:30:46 +03:00
Hleb Valoshka eab70c96cb Fix more coverity issues
Mostly uninitialized variables plus one memory leak
2018-10-30 23:52:19 +03:00
Hleb Valoshka fa5ab79304 Cleanup code related to non-GLSL render paths 2018-10-28 22:00:27 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Chris Laurel 5de792f64a Eigenized lighting and shadow calculations in renderer. 2009-07-18 05:50:56 +00:00
Da Woon Jung e59f4b4b54 HDR bloom, adaptive exposure, calibrated nightlights - disabled by default, enable with USE_HDR and HDR_COMPRESS. 4 new vertex programs added. 2008-03-25 00:23:16 +00:00
Chris Laurel 6454b452d4 Mesh rendering bug fixes and improvements:
- Defined a sensible lighting model to use when normals are omitted from a model, which should prevent crashes in the Mac version
- Added support for point sprites in cmod meshes
2007-04-02 16:55:32 +00:00
Chris Laurel 243ba06154 - Split the GLSL code out of render.cpp and placed it in its own file.
- Adjusted the atmosphere extinction threshold upward; slightly improves the appearance of atmospheres without introducing tessellation artifacts
- Fixed some clipping problems with the new atmosphere code (though there are still problems when the camera is very close to a planet's surface.)
2006-08-26 23:58:48 +00:00