Click here to load reader

[Gpg1권 조진현] 5.6 하드웨어 범프 매핑

  • View
    825

  • Download
    1

Embed Size (px)

Text of [Gpg1권 조진현] 5.6 하드웨어 범프 매핑

1

( bump mapping ) . . , .

!!

! ~ !!!

Normal ?

~~ !!!Normal Map == Bump MapNormal Map.RGB . ?

?Unit Vector [ -1, 1 ]24 [ 0, 255 ]F(x) = ( 0.5x + 0.5 ) * 255F-1(x) = ( 2x / 255 ) - 1Normal normalT = NormalMap.Sampler( sampler, in.Coord );

[ 0, 1 ] [ -1, 1 ]G(x) = 2x 1normalT = 2.0f * normalT 1.0f;

( )

T = T * MworldB = B * MworldN = N * Mworld

. ( ) . ( ) . ( ) .

Search related