cnq3/code/renderer
myT 85583acc9c dynamic lights apply to even more surfaces and have a nicer fall-off
- ditched vertex colors (not wanted) and alpha tests (not needed) in the shaders
- using a Bezier fall-off to get much softer edges
- added no-depth-write transparent surfaces support by adjusting the depth test
- multiplying the diffuse texture's color by its alpha in non-opaque passes
- fixed triangle rejection based on cull type and normal direction
- reflecting normals in shaders to support two-sided surfaces
- rejecting surfaces with no diffuse stage or bad blend states as early as possible
- liquids get lit weaker than other surfaces
2020-02-21 08:26:12 +01:00
..
hlsl dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
stb_image.cpp reverting to old code for .tga image decoding, but with tweaks and fixes 2020-02-18 04:42:28 +01:00
stb_image.h using stb_image to load png and tga images 2017-06-04 16:37:57 +02:00
tr_backend.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_backend_d3d11.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_backend_gl2.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_backend_gl3.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_bsp.cpp added r_lightmapGreyscale 2020-01-12 23:03:54 +01:00
tr_cmds.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_curve.cpp import from cnq3 1.47 2016-12-17 20:43:04 -08:00
tr_help.h r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_image.cpp reverting to old code for .tga image decoding, but with tweaks and fixes 2020-02-18 04:42:28 +01:00
tr_init.cpp r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_light.cpp merge the new build system 2016-12-29 20:13:59 -08:00
tr_local.h dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_main.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_marks.cpp import from cnq3 1.47 2016-12-17 20:43:04 -08:00
tr_mesh.cpp merge the new build system 2016-12-29 20:13:59 -08:00
tr_model.cpp added pattern matching filtering to /modellist /skinlist /imagelist /shaderlist 2019-09-25 05:29:13 +02:00
tr_noise.cpp map download improvements 2019-02-14 04:22:45 +01:00
tr_public.h added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_scene.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_shade.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00
tr_shade_calc.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_shader.cpp fixed r_lightmap affecting non-opaque surfaces 2020-01-09 23:09:39 +01:00
tr_sky.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_surface.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_world.cpp dynamic lights apply to even more surfaces and have a nicer fall-off 2020-02-21 08:26:12 +01:00