본문 바로가기
유니티

[쉐이더노트] Built-in matrices

by Raypop 2015. 1. 6.

Built-in matrices

Matrices (float4x4) supported:

UNITY_MATRIX_MVP: Current model*view*projection matrix

UNITY_MATRIX_MV: Current model*view matrix

UNITY_MATRIX_V: Current view matrix.

UNITY_MATRIX_P: Current projection matrix

UNITY_MATRIX_VP: Current view*projection matrix

UNITY_MATRIX_T_MV: Transpose of model*view matrix

UNITY_MATRIX_IT_MV: Inverse transpose of model*view matrix

UNITY_MATRIX_TEXTURE0 to UNITY_MATRIX_TEXTURE3: Texture transformation matrices

'유니티' 카테고리의 다른 글

[쉐이더노트] RenderType  (0) 2015.01.15
[쉐이더노트] Queue tag  (0) 2015.01.14
[노트] uv 위치값 변경  (0) 2015.01.06
[쉐이더노트] Surface Shader compile directives  (0) 2014.12.22
[쉐이더노트] input structure  (0) 2014.11.19