瀏覽代碼

Update models_skybox.c

pull/1654/head
Ray 3 年之前
父節點
當前提交
e5834210d3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      examples/models/models_skybox.c

+ 4
- 0
examples/models/models_skybox.c 查看文件

@ -127,12 +127,16 @@ int main(void)
ClearBackground(RAYWHITE);
BeginMode3D(camera);
// We are inside the cube, we need to disable backface culling!
rlDisableBackfaceCulling();
rlDisableDepthMask();
DrawModel(skybox, (Vector3){0, 0, 0}, 1.0f, WHITE);
rlEnableBackfaceCulling();
rlEnableDepthMask();
DrawGrid(10, 1.0f);
EndMode3D();
if (useHDR)

Loading…
取消
儲存