본문으로 바로가기

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

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

DXC shader compiler integration

https://forum.unity.com/threads/unity-is-adding-a-new-dxc-hlsl-compiler-backend-option.1086272/2025.5 보완Unity에서 HLSL을 처리할 때 사용하는 셰이더 컴파일러는 플랫폼 및 설정에 따라 여러 가지를 사용할 수 있고, Unity 버전이 올라갈수록 DXC (DirectX Shader Compiler) 중심으로 전환되고 있다.아래는 HLSL 컴파일러 구성을 간략히 정리한 내용이다.DirectX (Windows) FXC 또는 DXC DX11/12용. 최신 Unity는 DXC 기본Metal (macOS, iOS) Unity 자체 HLSL-to-MSL 변환기 HLSL → MSL 번역 후 Metal 셰이더 컴파일러 사용Vulkan ..

Technical Report/Unity 2025. 5. 14. 11:09

Cbuffer padding for proper SRP Batcher capability

이거한번 정리해야지 했던건데 좀 늦게...SRP Batcher는 Unity의 Scriptable Render Pipeline (URP/HDRP 등)의 퍼포먼스 핵심 기능 중 하나로,GPU에 바인딩되는 셰이더/머티리얼/상수 버퍼를 효율적으로 처리하는 기능이다.요구되는 내용은 아래와 같다.Uniform Buffer Object (UBO) : 모든 Material 데이터를 UBO 구조로 압축해서 GPU에 보낸다.GLSL 구조화된 Layout 지원 : constant buffer layout이 정확하게 일치해야 GPU가 batch 처리 가능GPU에 std140 또는 std430 레이아웃 지원 : OpenGL ES 3.1부터 지원(WebGL 지원 불가)Unity documentation : https://docs..

Technical Report/Unity 2025. 5. 13. 17:49

Cluster simulation by Compute Shader

원문 링크https://zhuanlan.zhihu.com/p/12615431706?utm_psn=1857450462946668545&fbclid=IwZXh0bgNhZW0CMTAAAR0QBoPWgo-Oyqy1Plmg77ueJfda-5oLX6CktLZFTXh_SJvB7FjuN7RKPEY_aem_cl8ztuz1Ak-7tR5Xx4UnmgFlocking은 자연에서 새나 물고기 떼와 같은 동물의 집단적 움직임 행동을 시뮬레이션하는 알고리즘입니다. 핵심은 Sig 87의 Craig Reynolds가 제안한 세 가지 기본 동작 규칙을 기반으로 하며 종종 "Boids" 알고리즘이라고도 합니다.분리 입자는 서로 너무 가깝지 않아야 하며 경계감이 있어야 합니다. 구체적으로는 주위의 특정 반경을 갖는 입자를 계산한 다음 충돌을..

Technical Report/Unity 2024. 12. 31. 20:54

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

PBR-BRDF-Disney-Unity-1

원문 : https://developpaper.com/pbr-brdf-disney-unity-1/Disney BRDF source code : https://github.com/wdas/brdf/blob/main/src/brdfs/disney.brdfPBR-BRDF-Disney-Unity-2 : https://zhuanlan.zhihu.com/p/316030723 GitHub - wdas/brdf: BRDF ExplorerBRDF Explorer. Contribute to wdas/brdf development by creating an account on GitHub.github.com analytic# Copyright Disney Enterprises, Inc. All rights reserved..

Technical Report/Unity 2022. 3. 2. 17:01

URP Realtime Shadow color control

URP에서는 Realtime casting으로는 Environment의 Realtime Shadow color 옵션이 작동하지 않는다. 이걸 조절할수 있게 바꾸는 방법은 Shader를 다 뜯어야 하는데.... Lighting.hlsl에는 아래와 같이 정의되어 있다. half3 SubtractDirectMainLightFromLightmap(Light mainLight, half3 normalWS, half3 bakedGI) { // Let's try to make realtime shadows work on a surface, which already contains // baked lighting and shadowing from the main sun light. // Summary: // 1) Ca..

Technical Report/Unity 2022. 1. 22. 03:22

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 BlinnPhong with Normal mapping

URP Shader Training 중급에서 사용할 example. maskmap이랑 몇가지는 그냥 임의 커스텀(참고용). 이거저거 잡다하게 붙인... Shader "LightingExample/BlinnPhong" { Properties { [Header(URP BlinnPhong Lighting)] [Space(20)] _TintColor ("Tint Color", color) = (1,1,1,1) _BaseMap("Albedo(RGB)", 2D) = "white" {} [Normal]_BumpMap("Normal texture", 2D) = "white" {} _MaskMap("Occlusion(G), Glossness(A)", 2D) = "white" {} [Space(20)][Header(Con..

Technical Report/Unity 2021. 7. 8. 22:41

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

Unity Shader에서 if문 사용과 삼항 연산자 사용에서의 compile 코드 비교.

참고 : blog.hybrid3d.dev/2020-12-21-reason-for-slow-of-if-statement-in-shader 쉐이더에서 IF 문이 느린 이유개요 쉐이더에서 if 문이 성능에 좋지 않다는 것은 프로그래머가 아니더라도 많이들 알고 있는 사실이다. 중요한 것은 단순히 if 문이 느리다는 것이 아니다, if 문이 필요해서 if 문을 쓰는 것인blog.hybrid3d.dev 참고 : docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-if if Statement - Win32 appsConditionally execute a series of statements, based on the evaluation of th..

Technical Report/Unity 2021. 2. 17. 16:28
  • 이전
  • 1
  • 2
  • 3
  • 4
  • ···
  • 11
  • 다음

사이드바

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 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바