본문으로 바로가기

illustration of life

현재위치 :: HOME BLOG CATEGORY SEARCH ARCHIVE TAGS MEDIA LOCATION GUESTBOOK

네비게이션

  • 홈
  • profile
  • write
  • facebook
  • Youtube
  • 태그
  • 방명록
  • Admin
관리자
  • 블로그 이미지
    illu_yun

    Technical Artist / All rights reserved by illu since 2001 / illustor@gmail.com

    링크추가
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃

Unity Surface Shader cginc를 활용한 shader 작성

Unity 내부에 define된 Lambert, BlinnPhong, Standard 이외에는 Custom Lighting Model을 사용해 보통 Shader 안에서 작성하게 된다. inline half4 LightingUnlit(SurfaceOutput s, half3 lightDir, half atten) { return fixed4(s.Albedo, s.Alpha); }프로젝트 진행에 따라 Custom Shader가 늘어나고 중간에 Custom Lighting Model을 수정해야할 경우가 생길때 이를 Shader 마다 일일이 수정해주게 되는것도 일인데 cginc 파일을 Shader에 포함해 작성하게 되면 이런 수고를 줄일수 있다. 아래는 일반적인 Lambert Shader를 Lighting Mo..

Technical Report/Unity 2018. 4. 22. 02:00
  • 이전
  • 1
  • 다음

사이드바

NOTICE

  • Profile
  • 전체 보기
MORE+

CATEGORY

  • Life (1041)
    • Works (102)
      • 2D (32)
      • 3D (28)
      • Design (10)
      • official works 3D (32)
    • Scenes of Road (161)
      • Scene of Road (39)
      • Cats... and... (24)
      • Travel and People (39)
      • music and lylic (32)
      • about... something (27)
    • Sketch (134)
      • Dessin (19)
      • 2D Sketch (82)
      • 3D Sketch (14)
      • Travel and Sketch (19)
    • Technical Report (258)
      • Tutorials (36)
      • Unity (109)
      • Unreal (19)
      • Graphics Tech Reports (71)
      • Other things (12)
      • R&D test (10)
      • Global Reporting (1)
    • Diary (385)
      • 2020-2025 (24)
      • 2015-2019 (102)
      • 2014 (47)
      • 2013 (49)
      • 2012 (47)
      • 2011 (53)
      • 2010 (42)
      • 2008-2009 (21)

RECENTLY

  • 최근 글
  • 최근 댓글

최근 글

최근댓글

LINK

  • 대마왕님네
  • 오즈라엘
  • 대혁님네
  • woojin
  • 도훈형
  • 이장희(서울스케치)
  • 어떤 개발자의 금서목록
  • 흑기사의 방랑일지(shader)
  • Spikezang(Worldbuilder)
  • Chi Keen Hui
  • dandoombuggyart
  • Technical Effect
  • canny708
  • walll

VISITOR

오늘
어제
전체
  • 홈으로
  • 방명록
  • 로그인
  • 로그아웃
  • 맨위로
SKIN BY COPYCATZ COPYRIGHT illustration of life, ALL RIGHT RESERVED.
illustration of life
블로그 이미지 illu_yun 님의 블로그
MENU
  • 홈
  • profile
  • write
  • facebook
  • Youtube
  • 태그
  • 방명록
  • Admin
CATEGORY
  • Life (1041)
    • Works (102)
      • 2D (32)
      • 3D (28)
      • Design (10)
      • official works 3D (32)
    • Scenes of Road (161)
      • Scene of Road (39)
      • Cats... and... (24)
      • Travel and People (39)
      • music and lylic (32)
      • about... something (27)
    • Sketch (134)
      • Dessin (19)
      • 2D Sketch (82)
      • 3D Sketch (14)
      • Travel and Sketch (19)
    • Technical Report (258)
      • Tutorials (36)
      • Unity (109)
      • Unreal (19)
      • Graphics Tech Reports (71)
      • Other things (12)
      • R&D test (10)
      • Global Reporting (1)
    • Diary (385)
      • 2020-2025 (24)
      • 2015-2019 (102)
      • 2014 (47)
      • 2013 (49)
      • 2012 (47)
      • 2011 (53)
      • 2010 (42)
      • 2008-2009 (21)
VISITOR 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바