본문으로 바로가기

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

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

Fragment Lambert Lit

Lambert Lighting을 fragment에 적용해서 비교해 본다.(surface 하면서 간단한건 슬슬 tutorial에 넣어야 할듯해서...) 원문은 여기 참조 : https://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html 기본 구조에 대한 설명은 : https://illu.tistory.com/1197 우선 Surface code Shader "Test/SurfaceLambert" { Properties { _MainTex("Texture", 2D) = "white" {} } SubShader { Tags { "RenderType" = "Opaque" } CGPROGRAM #pragma surface surf SimpleLamber..

Technical Report/Unity 2019. 2. 9. 14:50

Unity fragment shader 구조 분석 정리

Unity fragment shader는 Surface shader와 달리 vertex shader와 pixel shader로 나누어 작성을 해야 한다. 기본구조는 크게 다르지 않으나 차이점이 있다면 surface 구조는 전처리 되어있는걸 사용하지 않는다고 막는구조라면 fragment 구조는 하나하나 만들어 줘야 한다는 정도.(fragment shader역시 전처리가 많이 되어있다. 다만 버텍스/픽셀 셰이더 구분이 되어있고 HLSL이나 GLSL과 구조가 유사하다는 정도일 뿐) 예제는 다음 링크에서 확인할 수 있다 : https://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html Shader "Test/FragmentBase" { P..

Technical Report/Unity 2017. 9. 26. 10:46
  • 이전
  • 1
  • 다음

사이드바

NOTICE

  • Profile
  • 전체 보기
MORE+

CATEGORY

  • Life (1033)
    • 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 (252)
      • Tutorials (36)
      • Unity (108)
      • Unreal (19)
      • Graphics Tech Reports (66)
      • Other things (12)
      • R&D test (10)
      • Global Reporting (1)
    • Diary (383)
      • 2020-2025 (22)
      • 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 (1033)
    • 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 (252)
      • Tutorials (36)
      • Unity (108)
      • Unreal (19)
      • Graphics Tech Reports (66)
      • Other things (12)
      • R&D test (10)
      • Global Reporting (1)
    • Diary (383)
      • 2020-2025 (22)
      • 2015-2019 (102)
      • 2014 (47)
      • 2013 (49)
      • 2012 (47)
      • 2011 (53)
      • 2010 (42)
      • 2008-2009 (21)
VISITOR 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바