본문으로 바로가기

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

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

크로스 플랫폼 엔진 셰이더 컴파일 프로세스 분석

원문 링크 : https://zhuanlan.zhihu.com/p/56510874 跨平台引擎Shader编译流程分析 背景过去的一年(2018),笔者参与了一个比较特殊的Unity手游项目,由此开始了Unity学习的旅程。这个项目是由Unity4版本制作同时有整合原来 公司自研引擎部分代码,结构比较混乱,这一年笔者 zhuanlan.zhihu.com Background 원저작자가 Unity4에서 unity 2017/18 업그레이드에 참여하면서 엔진의 material system과 shader compile에 대한 생각을 기록한 포스팅이다. Unity와 Unreal은 모두 크로스 플랫폼 게임 엔진이며 크로스 플랫폼의 기반에는 Shading Language와 렌더러가 포함된다. 셰이더 언어에서 Unity와 Unreal은 모두 널리 ..

Technical Report/Graphics Tech Reports 2022. 7. 15. 01:34

stochastic tiling shader

/* hash code come from https://briansharpe.wordpress.com/2011/11/15/a-fast-and-simple-32bit-floating-point-hash-function/ https://iquilezles.org/www/articles/texturerepetition/texturerepetition.htm?fbclid=IwAR1DP44yF51aAJZCZizV1v1GfTDciW_XfOYokIxtybMmCWGeKcQn_v-Pxvo https://qiita.com/yuji_yasuhara/items/158bab01cfff3c39214b https://drive.google.com/file/d/1QecekuuyWgw68HU9tg6ENfrCTCVIjm6l/view *..

Technical Report/Unity 2022. 5. 29. 22:44

Mapping between HLSL and GLSL

Mapping between HLSL and GLSL 원문링크 : https://anteru.net/blog/2016/mapping-between-HLSL-and-GLSL/ Mapping between HLSL and GLSL anteru.net HLSL과 GLSL의 차이만을 다루고 있다. 왼쪽이 HLSL 오른쪽이 GLSL System values & built-in inputs Direct3D는 몇 가지 시스템 값을 지정하고 GLSL에는 내장 변수 개념이 있다. 매핑은 아래와 같다 HLSL GLSL SV_ClipDistance gl_ClipDistance SV_CullDistance gl_CullDistance if ARB_cull_distance is present SV_Coverage gl_Samp..

Technical Report/Graphics Tech Reports 2022. 2. 7. 01:42

URP BlinnPhong Default Character Shader

character shader base form based on mobile platform. 2021.1.6f1 support cascade. thanks for madumpa !!!. : blog posting below link. 캐스캐이드가 작동하지 않기 때문에 아래 링크처럼 픽셀에서 shadowcoord를 처리해주면 제대로 작동 https://blog.naver.com/PostView.naver?blogId=mnpshino&logNo=222154224409&navType=tl URP 셰이더 코딩 튜토리얼 A/S : 케스케이드 섀도우가 이상해요! 안녕하세요 마둠파입니다 전에 셰이더 코딩 튜토리얼 시리즈를 올려 뒀었는데요, 해당 셰이더로 케스케이드... blog.naver.com - support ..

Technical Report/Unity 2021. 7. 14. 18:22

URP Shader coding guide Basic term

URP Shader Training에 사용된 문서. 기본 Opaque, Alphatest, Transparent 3종류의 셰이더 작성과 기본 응용을 포함하고 있다. 셰이더 기초 작성에 대한 가이드이지 이걸 실제 프로젝트에 사용하기에는 무리가 따른다. 공부를 처음 시작할때 어떻게 할지 모를때 첫발을 떼는데 도움을 주기 위한 목적이지 이걸 다룬다고 실제 프로젝트에 적용할 수 있는건 아니니 주의. URL : docs.google.com/document/d/1UX0319CXa29fCFAgg0qa5vnH-U6875jt0KLKUk5mke8/edit URP Shader Basic URP Shader Basic term 2 Shader란? 2 Basic simple basic code 2 Shader “shader f..

Technical Report/Unity 2021. 5. 1. 03:00

2D Signed Distance Field Basics

원문링크 : http://www.ronja-tutorials.com/post/034-2d-sdf-basics/ 원문 레거시 shader code를 URP용으로 바꿔서 정리한 내용. 기본 예제 코드. Shader "URPTraining/2Ddistance" { Properties { _TintColor("Test Color", color) = (1, 1, 1, 1) _Intensity("Range Sample", Range(0, 1)) = 0.5 _MainTex("Main Texture", 2D) = "white" {} } SubShader { Pass { Name "UniversalForward" Tags {"RenderPipeline"="UniversalForward" "RenderType"="Opaq..

Technical Report/Unity 2021. 2. 10. 19:08

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

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

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

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
  • 2
  • 3
  • 다음

사이드바

NOTICE

  • Profile
  • 전체 보기
MORE+

CATEGORY

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

검색

티스토리툴바