Michaël Lemaire
48ea553f49
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@232 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
19 lines
414 B
C
19 lines
414 B
C
#include "renderer.h"
|
|
#include "shared/constants.h"
|
|
|
|
static Color _fakeFilterLight(Renderer* renderer, Color light_color, Vector3 at_location, Vector3 light_location, Vector3 direction_to_light)
|
|
{
|
|
return light_color;
|
|
}
|
|
|
|
Renderer rendererGetFake()
|
|
{
|
|
Renderer result;
|
|
|
|
result.render_quality = 5;
|
|
result.camera_location = VECTOR_ZERO;
|
|
|
|
result.filterLight = _fakeFilterLight;
|
|
|
|
return result;
|
|
}
|