Make it possible to render ImmediateGeometry
Geometry for ImmediateGeometry was never added inside _fill_render_list.
This commit is contained in:
parent
aef974e7a8
commit
fdc421836f
1 changed files with 5 additions and 0 deletions
|
@ -3051,6 +3051,11 @@ void RasterizerSceneGLES3::_fill_render_list(InstanceBase **p_cull_result, int p
|
||||||
} break;
|
} break;
|
||||||
case VS::INSTANCE_IMMEDIATE: {
|
case VS::INSTANCE_IMMEDIATE: {
|
||||||
|
|
||||||
|
RasterizerStorageGLES3::Immediate *immediate = storage->immediate_owner.getptr(inst->base);
|
||||||
|
ERR_CONTINUE(!immediate);
|
||||||
|
|
||||||
|
_add_geometry(immediate,inst,NULL,-1,p_shadow);
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
case VS::INSTANCE_PARTICLES: {
|
case VS::INSTANCE_PARTICLES: {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue