TA/Unity2020. 7. 7. 11:38

타일 프로퍼티 숨기기

[NoScaleOffset]

 

프로퍼티 이름달기

[Header(Name)]

 

 

https://docs.unity3d.com/kr/current/Manual/SL-Properties.html

 

  • [HideInInspector] - does not show the property value in the material inspector.
  • [NoScaleOffset] - material inspector will not show texture tiling/offset fields for texture properties with this attribute.
  • [Normal] - indicates that a texture property expects a normal-map.
  • [HDR] - indicates that a texture property expects a high-dynamic range (HDR) texture.
  • [Gamma] - indicates that a float/vector property is specified as sRGB value in the UI (just like colors are), and possibly needs conversion according to color space used. See Properties in Shader Programs.
  • [PerRendererData] - indicates that a texture property will be coming from per-renderer data in the form of a MaterialPropertyBlock. Material inspector changes the texture slot UI for these properties.

 

'TA > Unity' 카테고리의 다른 글

unity shader 프로퍼티 숨기기  (0) 2020.07.07
라이팅 모델  (0) 2020.07.07
감마환경에서 PBR쉐이더 보정(리니어)  (0) 2020.07.07
알파 블랜드 라이트맵  (0) 2020.07.07
SubfaceShader 리플렉션 프로브 사용방법  (0) 2020.07.07
Posted by 프리랜서 디자이너
TA/Unity2020. 7. 7. 11:38

감마환경에서 PBR쉐이더 보정(리니어)

 

 

return fixed4( (finalColor * 1 / 2.2) * 1.125 , 1);

 

Posted by 프리랜서 디자이너
TA/Unity2020. 7. 7. 11:37

알파 블랜드 라이트맵 리시브 지원방법

정확히 이게 맞는지는 모르겟으나 일단 된다..;;

 

 

#pragma surface surf BlinnPhong decal:blend

 

 

 

Posted by 프리랜서 디자이너