Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

implement realtime sun light on tiled renderer

Open illwieckz opened this issue 5 years ago • 2 comments

May be cool to have the sun from ioquake3 opengl2 renderer, or another implementation that does the job.

Note: “opengl2 renderer” means “second renderer”, not “renderer using OpenGL 2”.

illwieckz avatar Dec 10 '19 09:12 illwieckz

We have that:

	// directional sun lighting ( Doom3 style )
	gl_shaderManager.load( gl_forwardLightingShader_directionalSun );

But it relies on the forward renderer, something we want to drop (#236)

@cmf028 do you think such sunlight would require the same design required by realtime shadows (#242) and would be able to leverage it? Or does it require something else?

illwieckz avatar Dec 13 '19 11:12 illwieckz

from https://github.com/DaemonEngine/Daemon/issues/662#issuecomment-1199857651 :

Here is an example of how looks ATCS (not HD) map on Q3 tremulous mod on ioquake3 with classic lighting:

ioquake3 tremulous atcs forcesun

Here is an example of how looks ATCS (not HD) map on Q3 tremulous mod on ioquake3 with r_forceSun 1:

ioquake3 tremulous atcs forcesun

Also not that it does not benefit from specular/normal/relief mapping here as none of this is implemented.

illwieckz avatar Apr 04 '23 11:04 illwieckz