본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)48k · #5490

premium-3d-website

하는 일

이 가이드는 놀랍고 고품질의 3D 웹사이트를 만드는 방법을 가르칩니다. 고급 시각 효과, 현실감 있는 상호작용, 어떤 기기에서도 원활하게 작동하도록 하는 최적화에 집중합니다.

사용하는 경우

  • ✓3D 요소가 있는 창의적인 웹사이트를 만들 때.
  • ✓빛나는 효과나 흐림 같은 특별한 시각 효과를 추가할 때.
  • ✓3D 객체가 마우스 클릭이나 호버에 반응하도록 만들 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/premium-3d-website/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/premium-3d-website/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“마우스를 3D 큐브 위에 올리면 큐브가 빛나도록 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

브라우저에서 3D 그래픽의 기반을 설정하고, 빛나기와 흐림 같은 시각 효과를 추가하며, 물리 엔진을 통합해 객체가 상호작용에 반응하도록 합니다. 빠른 로딩과 모바일 최적화를 위한 팁도 포함합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Premium 3D Website

Overview

This skill provides architectural guidelines and code patterns for developing premium, high-end 3D websites. It targets developers looking to implement advanced WebGL visual effects, custom shader pipelines, interactive physics elements, and immersive page transitions while maintaining high performance.

When to Use This Skill

  • Use when designing premium or award-winning creative websites with 3D elements.
  • Use when integrating Three.js, React Three Fiber (R3F), or Spline with custom shaders (GLSL).
  • Use when implementing post-processing effects like bloom, depth-of-field, or custom film grain.
  • Use when designing interactive preloaders and high-performance asset loading strategies.
  • Use when optimizing complex 3D scenes for mobile responsiveness and performance.

How It Works

Step 1: Establish the Render Loop and Scene Architecture

Setting up a robust WebGL context with proper resize handling and performance-friendly pixel ratios is crucial. Keep pixel ratios capped at a maximum of 2 to avoid rendering too many pixels on high-DPI screens.

Step 2: Implement Shader Effects and Post-Processing

Incorporate post-processing pipelines (using EffectComposer or @react-three/postprocessing) to add bloom, chromatic aberration, depth of field, or film grain. Keep pass counts low and combine custom fragment shaders to minimize draw calls.

Step 3: Integrate Interactive Physics and Motion

Utilize physics frameworks (such as Cannon.js or Rapier) or procedural spring animations to make 3D objects react to mouse hover, drag, and click inputs with organic feedback.

Step 4: Asset Pipeline and Preloader

Optimize 3D models (using Draco compression) and load them using custom loading managers. Render interactive preloaders to entertain users while heavy assets are fetched in the background.

Examples

Example 1: Custom Post-processing in React Three Fiber (R3F)

import { Canvas } from '@react-three/fiber';
import { EffectComposer, Bloom, DepthOfField, Vignette } from '@react-three/postprocessing';

export default function PremiumComposer() {
  return (
    <Canvas dpr={[1, 2]} gl={{ powerPreference: "high-performance", antialias: false }}>
      <ambientLight intensity={0.5} />
      <mesh>
        <boxGeometry />
        <meshStandardMaterial emissive="orange" emissiveIntensity={2.0} />
      </mesh>
      
      <EffectComposer disableNormalPass>
        <DepthOfField focusDistance={0} focalLength={0.02} bokehScale={2} height={480} />
        <Bloom luminanceThreshold={0.3} luminanceSmoothing={0.9} height={300} />
        <Vignette eskil={false} offset={0.1} darkness={1.1} />
      </EffectComposer>
    </Canvas>
  );
}

Example 2: Custom GLSL Shader Material for Liquid/Wavy Effects

import * as THREE from 'three';

const CustomWavyMaterial = new THREE.ShaderMaterial({
  vertexShader: `
    varying vec2 vUv;
    uniform float uTime;
    void main() {
      vUv = uv;
      vec3 pos = position;
      pos.z += sin(pos.x * 5.0 + uTime) * 0.1;
      pos.z += cos(pos.y * 5.0 + uTime) * 0.1;
      gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);
    }
  `,
  fragmentShader: `
    varying vec2 vUv;
    uniform float uTime;
    uniform vec3 uColor;
    void main() {
      float pulse = 0.5 + 0.5 * sin(uTime + vUv.x * 10.0);
      gl_FragColor = vec4(uColor * pulse, 1.0);
    }
  `,
  uniforms: {
    uTime: { value: 0.0 },
    uColor: { value: new THREE.Color('#3b82f6') }
  }
});

Best Practices

  • ✅ Set dpr={[1, 2]} to restrict the device pixel ratio to a maximum of 2.
  • ✅ Disable antialiasing on the WebGLRenderer when post-processing is active to prevent double-aliasing performance penalties.
  • ✅ Bake ambient occlusion, lighting, and shadows into textures using Blender or other 3D software instead of using dynamic lights and real-time shadows.
  • ✅ Use instance rendering (THREE.InstancedMesh or R3F <Instances>) for scenes containing multiple identical meshes.
  • ❌ Avoid using uncompressed GLTF/OBJ models. Always compress models using Draco or Meshopt.
  • ❌ Avoid real-time shadow maps (such as THREE.DirectionalLightShadow) on mobile or low-end devices due to the heavy performance overhead.

Limitations

  • This skill does not replace environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, or safety boundaries are missing.

…

자주 묻는 질문

모바일에서 제 3D 웹사이트가 느린 이유는 무엇인가요?

사이트가 너무 많은 세부 사항을 그리려 할 때 생길 수 있습니다. 모바일 기기에서는 이미지 품질을 제한하고 불필요한 효과를 끄는 것이 중요합니다.

웹사이트를 더 빨리 로딩하려면 어떻게 하나요?

무거운 3D 파일을 내려받는 동안 눈길을 끄는 것을 보여 주는 ‘프리로더’를 사용하세요. 3D 모델을 최적화해 크기를 줄이세요.

‘셰이더’란 무엇인가요?

3D 표면에 색과 효과를 어떻게 그릴지 컴퓨터에 알려 주는 작은 지시문과 같아서, 독특하고 맞춤형인 시각 효과를 가능하게 합니다.

상세 정보

작성자의 원본 설명

Guidelines for building premium 3D websites, focusing on custom WebGL shaders, post-processing, physics-based interactions, smooth animations, preloaders, and device optimization.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5490
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬