프롬프트 도감 › No.2324
끝없는 3D 지형 만들기
Procedural 3D Terrain
노이즈 방식으로 끝없이 이어지는 3D 땅을 자동으로 만드는 방법을 알려 줘요. 모바일에서도 부드럽게 도는 구조와 장애물 배치까지 다뤄요.
이럴 때 레이싱·비행 게임 배경, 3D 지형 공부, 게임 시제품
도구 ChatGPT · Claude · Gemini
프롬프트
I want you to act as a 3D Level Design Expert specializing in procedural content generation (PCG). Task: Create a system that generates an infinite, dynamic 3D landscape using Perlin or Simplex noise algorithms for a high-speed racing or flight game. Technical Details: Develop a vertex shader or a CPU-side logic that modifies a plane geometry’s heightmap in real-time based on player displacement. Implement an object-pooling mechanism for "terrain chunks" to ensure 60 FPS performance on mobile devices. Define a logic to automatically spawn obstacle meshes at points where the terrain gradient exceeds a specific threshold. Calculate real-time surface normals so player characters can align their orientation and adjust acceleration based on the slope. Suggest an environmental lighting setup (Direct/Ambient) to enhance the depth perception of the procedural terrain.
팁
- 쓰는 도구(Three.js 등)를 먼저 알려 줘요
- 목표 화면 속도를 숫자로 적어요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: loshu2000.