8#ifndef META_OCEAN_RENDERING_GLES_POINT_LIGHT_H
9#define META_OCEAN_RENDERING_GLES_POINT_LIGHT_H
GLESLightSource()
Creates a new GLESceneGraph light source.
friend class GLESFactory
Definition GLESPointLight.h:33
Vector3 attenuation() const override
Returns the attenuation factors of the point light.
Vector3 position_
Light position inside the local coordinate system.
Definition GLESPointLight.h:82
void setPosition(const Vector3 &position) override
Sets the position of the light object.
~GLESPointLight() override
Destructs a GLESceneGraph point light object.
Vector3 attenuationFactors_
Attenuation factor vector, with order (constant, linear, quadratic).
Definition GLESPointLight.h:85
GLESPointLight()
Creates a new GLESceneGraph point light object.
Vector3 position() const override
Returns the position of the light object.
void bindLight(GLESShaderProgram &shaderProgram, const HomogenousMatrix4 &camera_T_model, const HomogenousMatrix4 &camera_T_world, const SquareMatrix3 &normalMatrix, const unsigned int index) override
Binds this light source.
bool setAttenuation(const Vector3 &factors) override
Sets the attenuation factors for the point light.
This class implements a container for an OpenGL ES shader program.
Definition GLESShaderProgram.h:53
PointLight()
Creates a new point light.
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
SquareMatrixT3< Scalar > SquareMatrix3
Definition of the SquareMatrix3 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix3.h:43
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15