first works of omni shadows
This commit is contained in:
@@ -37,7 +37,8 @@ RendererBase::RendererBase(QGLView * view_)
|
||||
, buffer_lights_pos(GL_UNIFORM_BUFFER, GL_STREAM_DRAW)
|
||||
, textures_empty(GL_RGBA, false)
|
||||
, textures_maps(GL_RGBA, true)
|
||||
, shadow_maps_cone(GL_R32F, false) {
|
||||
, shadow_maps_cone(GL_R32F, false)
|
||||
, shadow_maps_omni(GL_R32F, false) {
|
||||
textures_manager = new TextureManager(view);
|
||||
maps_size = QSize(1024, 1024);
|
||||
maps_hash = 0;
|
||||
@@ -62,6 +63,7 @@ void RendererBase::initTextureArrays() {
|
||||
im.fill(0xFF8080);
|
||||
textures_empty.load(f, im, emrBlue);
|
||||
shadow_maps_cone.init(f);
|
||||
shadow_maps_omni.init(f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user