그래픽스 및 게임 엔진 블로그

  • 홈
  • 태그
  • 방명록

빛의 세기 1

[Rasterization] 빛의 조명 3가지

그래픽스 렌더링에서 빛의 조명은 다음과 같이 총 3가지로 구분할 수 있습니다.1. Directional Light Directional Light은 태양을 빗대서 만든 방식입니다. 따라서 빛이 어디에서 시작하는지를 구분하지않고, 빛을 맞는 지점마다 빛의 세기에 차이를 두지 않습니다. 즉 Direction(방향)과 빛 자체의 세기만 고려합니다.코드는 다음과 같습니다.vec3 BlinnPhong(vec3 lightStrength, vec3 lightVec, vec3 normal, vec3 toEye, Material mat) { vec3 halfway = normalize(toEye + lightVec); vec3 specular = mat.specular ..

Graphics Techniques 2024.11.11
이전
1
다음
더보기
프로필사진

그래픽스 및 게임 엔진 블로그

eofud0930@naver.com

  • 분류 전체보기 (98) N
    • Algorithm Concepts and C++ .. (16)
    • C#_ Unity Game programming (22)
    • C++ Memory and Optimization (6)
    • Graphics Techniques (32)
    • CS Basic Concepts (1)
    • [Graphics] Mathematical Con.. (10)
    • C++ Language Concepts (2)
    • 자체엔진 제작 포트폴리오 (8) N

Tag

PBR, 렌더링파이프라인, DirectX, rasterization, ComputeShader, 메모리, perlin, 유체시뮬레이션, 그래픽스, RayTracing, C++, 텍스춰링, rendering, 렌더링, hlsl, graphics, hlsli, thread, sph, Ray Tracing,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • eofud0930@naver.com (my email)

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바