Esenthel
Administrator
|
RE: Blocks performance
No. Try adjusting block resolutions to reduce draw calls
Use frustum culling when drawing prepare and shadows
|
|
08-17-2011 06:32 PM |
|
kulesz
Member
|
RE: Blocks performance
from Blocks.h
Code:
// draw
void draw (C Matrix &matrix) {if(Frustum(_mesh.box, matrix))_mesh.draw (matrix);}
void drawShadow(C Matrix &matrix) {if(Frustum(_mesh.box, matrix))_mesh.drawShadow(matrix);}
I guess frustum culling is on by default, isn't it?
(This post was last modified: 08-17-2011 07:35 PM by kulesz.)
|
|
08-17-2011 07:34 PM |
|
Esenthel
Administrator
|
RE: Blocks performance
yes, sorry
|
|
08-17-2011 10:08 PM |
|
kulesz
Member
|
RE: Blocks performance
Well. that's a bit sad if that's all what can be done... I don't want to make another Minecraft clone, but I like the idea of "blocky terrain", so wanted to implement it in the EE... However with setting similiar to MC, it get's slooow... :-/
|
|
08-18-2011 07:36 AM |
|