git-svn-id: svn://db.shs.com.ru/libs@667 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -65,6 +65,10 @@ class Renderer: public RendererBase {
|
||||
obrSum,
|
||||
obrSolidOmni,
|
||||
obrSolidSpot,
|
||||
obrTransparentOmni,
|
||||
obrTransparentSpot,
|
||||
|
||||
obrBuffersCount,
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -85,6 +89,7 @@ protected:
|
||||
void fillObjectsBuffer(const ObjectBaseList & ol, RenderPass pass);
|
||||
void reloadObjects();
|
||||
void renderObjects(Scene & scene, RenderPass pass);
|
||||
void renderLight(int first_wr_buff);
|
||||
|
||||
bool bindShader(ShaderRole role, QOpenGLShaderProgram ** ret = 0);
|
||||
bool bindShader(QOpenGLShaderProgram * sp);
|
||||
@@ -118,6 +123,7 @@ private:
|
||||
QMatrix3x3 nm;
|
||||
QVector4D corner_dirs[4];
|
||||
QVector<QVector3D> hcontent;
|
||||
QMap<int, QList<Light*>> cur_lights;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user