본문으로 바로가기

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

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

cook-Torrance

Robert L. Cook과 Kenneth E.Torrance에 의해 개발되었으며 Phong이나 BlinnPhong에 비해 에너지 보존법칙(Engery Conservation)과 미세표면이론(MicroFacet)을 도입해 더욱 물리적으로 근사한 라이팅 모델을 구현했다 https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=edgerider&logNo=220517509315 https://github.com/midnightSuyama/BASICxSHADER/blob/master/shaders/Lighting/Cook-Torrance.shader Shader "BASICxSHADER/Lighting/Cook-Torrance" { Propert..

Technical Report/R&D test 2020. 4. 8. 16:37

Low Roar - Easy Way out

Death Stranding - PSX 2016 Trailer (Feat. "Easy Way Out" by Low Roar) Easy Way out Did you call my name While i'm passing out?내가 떠나있는 사이 내이름을 불렀나요? The mistake i've made It can't be turned around내가 저지른 실수는 돌이킬 수 없어요 I took the easy way outI took the easy way outI took the easy way out쉬운 길을 떠났어요 I went one for one Before casting out드리워지기 전에 그 하나를 위해 갔어요The mistake i've made It can't be turned aro..

Scenes of Road/music and lylic 2020. 2. 27. 16:20

Shader Graph Custom Shader function

Shader Graph에서 RGBA로 입력 받아서 RGB와 Alpha를 나누어서 출력하려면 위와 같은 노드 구성이 필요하다. 비쥬얼 스크립팅에서 파라메터 노출만 해도 이 뻘짓을 안해도 되는데 이게 꽤나 불편해서 Custom node로 아래와 같이 작성해서 사용할 수 있다. Custom function에서 Inputs을 TintColor 로 Vector4를 입력받게 하고 Oututs 를 ColorRGB 를 Vector3로 ColorA를 Vector1으로 설정해주고 아래 노드 타입을 String으로 설정하고 name을 ColorSplit으로 해줬다. 그리고 아래와 같이 넣어준다. #if SHADERGRAPH_PREVIEW ColorRGB = TintColor.rgb; ColorA = TintColor.a; ..

Technical Report/Unity 2020. 2. 15. 00:07

Shader에서 Linear <-> sRGB 변환 함수

원문링크 : https://light11.hatenadiary.com/entry/2020/01/23/230538 sRGB 색 공간뿐만 아니라 선형 색상 공간에 대응하는 것 같은 쉐이더를 쓰는 경우 쉐이더에서 색 공간 변환을 할 수 있습니다.PostProcessing의 소스 코드 를보고 있었는데 좋은 느낌의 색 공간 변환 용 코드가 있었기 때문에이 기사에 정리해 둡니다. 원래의 소스 코드는 다음 github를 참조하십시오.https://github.com/Unity-Technologies/PostProcessing/blob/4e01e2e06bc2be4afeef24f5d9eb547c30391fcc/PostProcessing/Shaders/Colors.hlsl #define FLT_EPSILON 1.19209..

Technical Report/Unity 2020. 2. 14. 10:09

URP Default Unlit Based to Custom Lighting

Frame debugger에서는 call이 하나로 보이나 왼쪽에 보면 Draw calls가 4라고 표시되고 있다. SRP Batcher의 개념에 대한건 URP 문서에서 다시 설명을~Based on URP 7.1.8에서 제작하였으며, 이보다 낮은버젼에서는 동작을 보증하지 못합니다. Legacy vertex and fragement 코드에 익숙한 분들은 어렵지 않게 사용하실수 있을거고 fragment shader 코드에 익숙치 않은 분들은 아래에 //Lighting Calculate(Lambert) Light mainLight = GetMainLight(i.shadowCoord); float NdotL = satura..

Technical Report/Unity 2020. 1. 31. 19:02

필드에 빛을 입히다 - Unity Progressive Lightmapper

본 포스팅에 대해서 내용 퍼다가 공유하는걸 금지합니다. 링크로만 공유 부탁드립니다. 수시로 업데이트 할 예정이므로 가급적 이 포스팅 링크를 공유해주세요 Unite Seoul 2018 필드에 빛을 입히다 2018. 목차 2019.1.1Simple Unity Progressive lightmapper for Tokyo / Singapore Unite include LOD mesh bake 2018.1.1 Lighitng collsion 내용 추가 Shadow 내용 추가 2018.1 엔젠 버젼업에 따라 4.X 버젼 내용 삭제 Unity Standard Shader 항목 삭제 Global illumination 알고리즘 관련 항목 삭제 Level Lighting 예제 삭제 Light Collision을 활용한 ..

Technical Report/Tutorials 2019. 10. 17. 19:56

PCSS Light script

원문 링크 : https://github.com/TheMasonX/UnityPCSS https://github.com/h33p/Unity-Graphics-Demo/tree/master?tab=readme-ov-fileusing System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Rendering;[ExecuteInEditMode]public class PCSSLight : MonoBehaviour{ public int resolution = 4096; public bool customShadowResolution = false; [Space(20f)] [Range(1, 64)..

Technical Report/Unity 2019. 9. 15. 22:02

LWRP Basic shader code

only draw opaque render pass LWRP / Shader Graph PDF 190996 Shader "LWSampleShader" { Properties { [Space(20)] [Header(LWRP Demo)] _TintColor ("Color", color) = (1,1,1,1) _MainTex("Texture", 2D) = "white" {} [KeywordEnum(LC, LW1, LW2)] _Sample("Sampler mode", Float) = 0 _Offset("Tiling and Offset", vector) = (1, 1, 0, 0) [Space(10)] [Header(Lighting Mode)] [KeywordEnum(None, Lambert, BlinnPhong)..

Technical Report/Unity 2019. 9. 8. 05:48

190816 케이스갈이

케이스 바꾸는게 보통일이 아닌지라 미루고미루던게 몇년째인데 어제는 무슨 바람이 불었는지 바꿔야겠다 싶어 용산을 들렀다. 나중에 찾아보니 NZXT Evo가 09년 출시 모델이고 그 즈음에 구매했으니 진짜 10년 가까이 쓴듯... 용산에서는 요즘 케이스는 전시를 하지 않다길래, 온라인으로 주문하려던 찰나 가게 구석에 '중고팝니다'란 케이스가 눈에 들어왔다. 요래조래 살펴보니 꽤 괜찮아 보여서 2만원주고 업어왔다. 찾아보니 중국제품인데 SAMA Stallion이라는 제품으로 꽤나 평이 괜찮은 제품. 일단 케이스 마감은 꽤 훌륭했지만 상부가 막힌데다 차음제로 도배된 케이스라 온도가 안빠진다. 이틀간 열기에 윈도뻗는걸 겪고 부랴부랴 보강작업 개시(덕분에 저 강화유리 판넬을 몇번이나 열고 닫았는지 모른다). 우선 ..

Diary/2015-2019 2019. 8. 17. 19:15

Custom Material GUI

Editor Label Unity GUILayout classUnity EditorStyles class CatLike coding 샘플 코드 using UnityEngine;using UnityEditor;// https://catlikecoding.com/unity/tutorials/rendering/part-9/public class CustomShaderGUI : ShaderGUI{ Material target; MaterialEditor editor; MaterialProperty[] properties; public override void OnGUI(MaterialEditor editor, MaterialProperty[] properties) { th..

Technical Report/Unity 2019. 8. 14. 18:01
  • 이전
  • 1
  • ···
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • ···
  • 104
  • 다음

사이드바

NOTICE

  • Profile
  • 전체 보기
MORE+

CATEGORY

  • Life (1032)
    • 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 (382)
      • 2020-2025 (21)
      • 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 (1032)
    • 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 (382)
      • 2020-2025 (21)
      • 2015-2019 (102)
      • 2014 (47)
      • 2013 (49)
      • 2012 (47)
      • 2011 (53)
      • 2010 (42)
      • 2008-2009 (21)
VISITOR 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바