      2  3 456
白い光

赤い光××青い反射面

青い反射面||||青い反射光

全体に暗くなる7)
l *0&'/+"!2¡ /++ , l *01 "(#2¡  +*0&'" %2l  ,)+(-256(,$34*01.28



!40.31-2/5l#$#%,'+¡ %
• 4+"5• ( 4• 

5¡ %• 4 5
• *&%
• )"9l¡    ¡ ¡  

10

11l



#"$



¡    ! l l¡  ! ¡  12 (diffuse)l 

¡ &"%$( ! ' $*)#)¡  $! $+)l

¡ $l 
¡ $ %&%$)

 



13



?&/

l@4;">*4<I%F)5l
3H6> 971!0EA+>3HG¡ >DF

I.

,

• 5B;? >4;#>3HG¡@($?

>4=->DF"?'1:2• ?'?.8

3H=097C?13HG142l¡ (34&+21.7• 37905¡ 6#)9 '7/*15"6

-3%l¡ 5!1.7¡ (5$5:<=;>4,87• (.715l  θi  cosθi  l   θi cosθi  Lambert 

N


Ldθi



d / cosθicosθ i = N ⋅ LN, L 16
Idiff:

Kdiff: % Ldiff: %

Ä: "%

Idiff, Kdiff, Ldiff &RGB % %)


%$*# (!&#

Idiff = cosθi Kdiff ⊗ Ldiff = (N ⋅ L) Kdiff ⊗ Ldiff
N " L %# π / 2 #' 



& 0:

Idiff = max (N ⋅ L, 0) Kdiff ⊗ Ldiff

17



18

"#

 (specular)l : :(4 9 0=¡ 2(.8'7%)8'&

• ;%&8:6
38'

l #6:







+->

¡ :!9;.8'
• :;*8'• :> 0=¡ #:<*-:$> ,=l A?B?@>/=¡ >*151=19 l    Ll  Nl   RN 2(L•N)NR = 2(L ⋅ N)N − LR(L•N)NLL•Ncosθi–L20l    θr   Kshi cosKshiθr !(!)Kshi:  (shininess) Rθr
V 

Phong &#'Kcos Kshi θ r = ( R ⋅ V) shi
R, V %"$'

21  (Phong )
Ispec:  Kspec:Kshi: Lspec: K

Ispec = cosKshi θr Kspec ⊗ Lspec = (R ⋅ V) shi Kspec ⊗ Lspec
R  V  π / 2 Kshi

Ispec = max (R ⋅ V, 0) 0:Kspec ⊗ Lspec
22 (Phong)23(%'*$#l 
! "  !  ! θh !
! Kshi  cosKshiθh #+#,Blinn-Phong !)&*N H  LθhVL+V
H=L+V
Kcos Kshi θ h = ( N ⋅ H) shi
L, N, V (%'*!

24 (Blinn +637)
Ispec: Kspec: +Kshi: "Lspec: +lobe9  +:*, Phong ( $cosine 637/K

Ispec = cosKshi θh Kspec ⊗ Lspec = (N ⋅ H) shi Kspec ⊗ Lspec
N ( H +)%! π / 2 )-
Kshi

Ispec = max (N ⋅ H, 0)
OpenGL +, 0:Kspec ⊗ Lspec

584120'#.&637, Blinn-Phong 637

25

 (Blinn)26  
Phong

Blinn (BRDF)

27


 


28

 
10!
−
2cosnθ lobe  (cosine lobe )0!
229

  0

Kshi = 1
Kshi = 10

Kshi = 50
Kshi = 900−!
2!
30 2

Kshi = 10

Kshi = 50

Kshi = 90



Kshi



31



 (ambient)l $2436'2"9)l "3 4#/%=
¡ %=$'< *>. (5-3$2!+= 9%=¡ 28;&0+=0"(''=l "3 4:3 2;<,
071+







32
Iamb:

Kamb:

Lamb: 

Iamb = Kamb ⊗ Lamb33



34


Itot = Iamb + Idiff + Ispec

Iamb


Idiff


Ispec

35 

   36 ld=Lpos

1
Lpos − P2Ld=

1
sc + sl Lpos − P + sq Lpos − PItot = Iamb + d (Idiff + Ispec )2P!(1, 0, 0) #(sc, sl , sq ) = "(0,1, 0)  #(0, 0,1)$37l
!"#$% = max −+ , +-./

Lpos"012


LdirLPl

3454 = !"#$% 3678 + : 3-.;; + 3"#<=38

#

!$"# ,-: Lglob: Lemi'*()+&)%

: Cspot: dI tot = Lglob ⊗ K amb + Lemi + cspot {I amb + d ( I diff + I spec )}%: nn{}kkkk
I tot = Lglob ⊗ K amb + Lemi + ∑ cspot
I amb+ d k ( I diff+ I spec)k=139 40  

41   42  43

 l44 45

46