Closed jcy1001 closed 3 months ago
It seems that there is no mistakes. Is not effect null?
effect is ok
please use PerspectiveFovRH_OpenGL
please use PerspectiveFovRH_OpenGL
::Effekseer::Matrix44 projectionMatrix; projectionMatrix.PerspectiveFovRH_OpenGL(90.0f / 180.0f * 3.14f, (float)windowWidth / (float)windowHeight, 1.0f, 500.0f); I try PerspectiveFovRH_OpenGL,but still cannot display
glClear(GL_COLOR_BUFFER_BIT); -> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
success, Thanks bro
@durswd demo use sdl is ok,i put these code to my game ,it can not display,i try debug effekseer to see why, i see it step into m_renderer->DrawSprites(bufferSize / stride / 4, vbOffset / stride); is excuted , i have no idea ,why it display no effect ,can you help me to debug this problem?
int main(int argc, char** argv) { if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_GAMECONTROLLER) != 0) { printf("Error: %s\n", SDL_GetError()); return -1; }
}