Cube Environment Mapping Effect Mgun Cube Environment Mapping
Cube Environment Mapping Effect Mgun.
Cube Environment Mapping http: //mgun. tistory. com/1
How Create CUbemap -> 큐브 텍스쳐의 생성. POSITIVE_X: NEGATIVE_X: POSITIVE_Y: NEGATIVE_Y: POSITIVE_Z: NEGATIVE_Z: v. Look. Dir = ( 1. 0 f, 0. 0 f ); v. Up. Dir = ( 0. 0 f, 1. 0 f, 0. 0 f ); v. Look. Dir = ( -1. 0 f, 0. 0 f ); v. Up. Dir = ( 0. 0 f, 1. 0 f, 0. 0 f ); v. Look. Dir = ( 0. 0 f, 1. 0 f, 0. 0 f ); v. Up. Dir = ( 0. 0 f, -1. 0 f ); v. Look. Dir = ( 0. 0 f, -1. 0 f, 0. 0 f ); v. Up. Dir = ( 0. 0 f, 1. 0 f ); v. Look. Dir = ( 0. 0 f, 1. 0 f ); v. Up. Dir = ( 0. 0 f, 1. 0 f, 0. 0 f ); v. Look. Dir = ( 0. 0 f, -1. 0 f ); v. Up. Dir = ( 0. 0 f, 1. 0 f, 0. 0 f );
Contents 반짝이는 효과 - 빛의 반사값 계산 R = I – 2 * (I N) * N Out. Reflect = normalize(reflect(Incident, Norm)); Out. Reflect = normalize(Indicident – 2 * Norm * dot(Incident, Norm)
- Slides: 8