SlideShare a Scribd company logo
1 of 5
Codex Shader들( CG이용 )
• Lambert ( Diffuse + Ambient )

• Rim ( Lambert + Rim )
• Rim_Bump ( Lambert + Bump + Rim )

• Blinn ( Diffuse + Ambient + Specular + Rim )
• Blinn_Bump ( Blinn + Bump )

• Skin ( Blinn_Bump + Skin컬러 )
Specula
          r
                 Rim




Skin
CG 쉐이더 코드
•   Shader "_Game/Blinn_Bump"
•   {                                                                                      •   SubShader
•              Properties                                                                  •   {
•              {
•                               _MainTex( "Diffuse(RGB) MaskSpec(A)", 2D ) = "white" {}
                                                                                           •   Tags { "Queue" = "Geometry" "LightMode" = "ForwardBase" }
                                                                                           •   Lighting On
•                               _Ambient( "Ambient Color", Color ) = (0,0,0,0)
                                                                                           •   Pass
•                               _RimColor( "Rim Color", Color ) = (0.26,0.19,0.16,0.0)
                                                                                           •   {
•                               _RimPower( "Rim Power", Range( 1, 10.0 ) ) = 3.0
•                               _Glossiness( "Glossness", Range( 0, 128 ) ) = 64           •   CGPROGRAM
•                               _Shininess( "Shineness", Range( 0.5, 10.0 ) ) = 1.0                –   #pragma vertex Vert
•                               _NonLightGloss( "NonLightGloss", Range( 0, 1.0 ) ) = 1.0           –   #pragma fragment Frag
•                               _BumpMap( "Normal(RGB) Translucent(A)", 2D ) = "bump" {}
•                               _BumpWeakening( "Weakness of Bump", Range( 0, 1 ) ) = 0            –   #define BLINN_BUMP_SHADER

                                                                                                   –   #include "GameHeader.cginc"
•             }
                                                                                                   –   #include "GameSurface.cginc"

                                                                                                   –   #define SURFACE_COLOR BLINN_SURFACE_COLOR

                                                                                                   –   #include "GameShader.cginc"

                                                                                           •   ENDCG
                   확장자 cginc 파일을 만들                                                        •   }
                   고, 이를 include하여 다음과 같                                                   •
                                                                                           •
                                                                                               }
                                                                                               }
                   이 간단하게 cg쉐이더를 작성
                   할 수 있다.
끝~~~~

More Related Content

Viewers also liked

Project-E 게임 내용 요약
Project-E 게임 내용 요약Project-E 게임 내용 요약
Project-E 게임 내용 요약Jong Won Park
 
Siggraph2013보고서 저용량
Siggraph2013보고서   저용량Siggraph2013보고서   저용량
Siggraph2013보고서 저용량JP Jung
 
6강 light shadow 기초
6강 light shadow 기초6강 light shadow 기초
6강 light shadow 기초JP Jung
 
MMOROG 직업 컨셉과 역할
MMOROG 직업 컨셉과 역할MMOROG 직업 컨셉과 역할
MMOROG 직업 컨셉과 역할Hyeok-ro Park
 
레이더즈 기술 사례
레이더즈 기술 사례레이더즈 기술 사례
레이더즈 기술 사례기룡 남
 
이 판국에 PC온라인게임 개발-엔씨소프트 김형진
이 판국에 PC온라인게임 개발-엔씨소프트 김형진이 판국에 PC온라인게임 개발-엔씨소프트 김형진
이 판국에 PC온라인게임 개발-엔씨소프트 김형진강 민우
 
9강 camera advanced light2
9강 camera advanced light29강 camera advanced light2
9강 camera advanced light2JP Jung
 
11_빠른 개발 가능한 레벨 편집 시스템
11_빠른 개발 가능한 레벨 편집 시스템11_빠른 개발 가능한 레벨 편집 시스템
11_빠른 개발 가능한 레벨 편집 시스템noerror
 
MMORPG게임엔진의 현재와미래 by 장언일
MMORPG게임엔진의 현재와미래 by 장언일MMORPG게임엔진의 현재와미래 by 장언일
MMORPG게임엔진의 현재와미래 by 장언일drandom
 
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획강 민우
 
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?강 민우
 
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트JP Jung
 
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012devCAT Studio, NEXON
 
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력강 민우
 
10강최적화 가속화
10강최적화 가속화10강최적화 가속화
10강최적화 가속화JP Jung
 
P4.맵 에디터 제작하기(2)
P4.맵 에디터 제작하기(2)P4.맵 에디터 제작하기(2)
P4.맵 에디터 제작하기(2)Unitylearningcenter
 
유니티 Rpg게임배경 스타트업 5번째 스터디 자료
유니티 Rpg게임배경 스타트업 5번째 스터디 자료유니티 Rpg게임배경 스타트업 5번째 스터디 자료
유니티 Rpg게임배경 스타트업 5번째 스터디 자료Je Lyoung Kim
 
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉 공개용
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉   공개용게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉   공개용
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉 공개용lswsox
 
Next-generation MMORPG service architecture
Next-generation MMORPG service architectureNext-generation MMORPG service architecture
Next-generation MMORPG service architectureJongwon Kim
 
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012devCAT Studio, NEXON
 

Viewers also liked (20)

Project-E 게임 내용 요약
Project-E 게임 내용 요약Project-E 게임 내용 요약
Project-E 게임 내용 요약
 
Siggraph2013보고서 저용량
Siggraph2013보고서   저용량Siggraph2013보고서   저용량
Siggraph2013보고서 저용량
 
6강 light shadow 기초
6강 light shadow 기초6강 light shadow 기초
6강 light shadow 기초
 
MMOROG 직업 컨셉과 역할
MMOROG 직업 컨셉과 역할MMOROG 직업 컨셉과 역할
MMOROG 직업 컨셉과 역할
 
레이더즈 기술 사례
레이더즈 기술 사례레이더즈 기술 사례
레이더즈 기술 사례
 
이 판국에 PC온라인게임 개발-엔씨소프트 김형진
이 판국에 PC온라인게임 개발-엔씨소프트 김형진이 판국에 PC온라인게임 개발-엔씨소프트 김형진
이 판국에 PC온라인게임 개발-엔씨소프트 김형진
 
9강 camera advanced light2
9강 camera advanced light29강 camera advanced light2
9강 camera advanced light2
 
11_빠른 개발 가능한 레벨 편집 시스템
11_빠른 개발 가능한 레벨 편집 시스템11_빠른 개발 가능한 레벨 편집 시스템
11_빠른 개발 가능한 레벨 편집 시스템
 
MMORPG게임엔진의 현재와미래 by 장언일
MMORPG게임엔진의 현재와미래 by 장언일MMORPG게임엔진의 현재와미래 by 장언일
MMORPG게임엔진의 현재와미래 by 장언일
 
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획
[IGC2015] 액션스퀘어 이한순-블레이드를 통해 알아보는 모바일 액션 RPG 전투기획
 
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?
[IGC2015] 오드원게임즈 김영채- 다음은 무엇을 만들까?
 
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트
multi plaform Full3D MMO 만들기 "삼국지를 품다"의 테크니컬 아트
 
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012
양승명, 다음 세대 크로스플랫폼 MMORPG 아키텍처, NDC2012
 
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력
[IGC 2016] 블루홀 백성현 - MMORPG 디렉팅의 어려움과 테라에서의 노력
 
10강최적화 가속화
10강최적화 가속화10강최적화 가속화
10강최적화 가속화
 
P4.맵 에디터 제작하기(2)
P4.맵 에디터 제작하기(2)P4.맵 에디터 제작하기(2)
P4.맵 에디터 제작하기(2)
 
유니티 Rpg게임배경 스타트업 5번째 스터디 자료
유니티 Rpg게임배경 스타트업 5번째 스터디 자료유니티 Rpg게임배경 스타트업 5번째 스터디 자료
유니티 Rpg게임배경 스타트업 5번째 스터디 자료
 
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉 공개용
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉   공개용게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉   공개용
게임 캐릭터의 실시간 렌더링을 위한 리깅 테크닉 공개용
 
Next-generation MMORPG service architecture
Next-generation MMORPG service architectureNext-generation MMORPG service architecture
Next-generation MMORPG service architecture
 
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012
전형규, 가성비 좋은 렌더링 테크닉 10선, NDC2012
 

Similar to Shader EXAM.

Cocos2dを使ったゲーム作成の事例
Cocos2dを使ったゲーム作成の事例Cocos2dを使ったゲーム作成の事例
Cocos2dを使ったゲーム作成の事例Yuichi Higuchi
 
MongoDB Live Hacking
MongoDB Live HackingMongoDB Live Hacking
MongoDB Live HackingTobias Trelle
 
MS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome BitsMS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome BitsSpiffy
 
Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)Marakana Inc.
 
Slides mihail-ivanchev-1
Slides mihail-ivanchev-1Slides mihail-ivanchev-1
Slides mihail-ivanchev-1Droidcon Berlin
 
SQL Explore 2012 - Aviad Deri: Spatial
SQL Explore 2012 - Aviad Deri: SpatialSQL Explore 2012 - Aviad Deri: Spatial
SQL Explore 2012 - Aviad Deri: Spatialsqlserver.co.il
 
아이폰강의(7) pdf
아이폰강의(7) pdf아이폰강의(7) pdf
아이폰강의(7) pdfsunwooindia
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphicsmustafa_92
 

Similar to Shader EXAM. (11)

Graphics mod
Graphics modGraphics mod
Graphics mod
 
Cocos2dを使ったゲーム作成の事例
Cocos2dを使ったゲーム作成の事例Cocos2dを使ったゲーム作成の事例
Cocos2dを使ったゲーム作成の事例
 
Core animation
Core animationCore animation
Core animation
 
MongoDB Live Hacking
MongoDB Live HackingMongoDB Live Hacking
MongoDB Live Hacking
 
MS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome BitsMS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome Bits
 
Graphics in C++
Graphics in C++Graphics in C++
Graphics in C++
 
Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)
 
Slides mihail-ivanchev-1
Slides mihail-ivanchev-1Slides mihail-ivanchev-1
Slides mihail-ivanchev-1
 
SQL Explore 2012 - Aviad Deri: Spatial
SQL Explore 2012 - Aviad Deri: SpatialSQL Explore 2012 - Aviad Deri: Spatial
SQL Explore 2012 - Aviad Deri: Spatial
 
아이폰강의(7) pdf
아이폰강의(7) pdf아이폰강의(7) pdf
아이폰강의(7) pdf
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphics
 

More from Lee Jungpyo

X2M water by 巨人网咯 2018
X2M water by 巨人网咯 2018X2M water by 巨人网咯 2018
X2M water by 巨人网咯 2018Lee Jungpyo
 
Python maya 2018 setup note
Python maya 2018 setup notePython maya 2018 setup note
Python maya 2018 setup noteLee Jungpyo
 
天谕手游图形版本
天谕手游图形版本天谕手游图形版本
天谕手游图形版本Lee Jungpyo
 
Unite17 shanghai-lee jungpyo-neteasepangu-full chinese
Unite17 shanghai-lee jungpyo-neteasepangu-full chineseUnite17 shanghai-lee jungpyo-neteasepangu-full chinese
Unite17 shanghai-lee jungpyo-neteasepangu-full chineseLee Jungpyo
 
Substanceshanghaippt repacked
Substanceshanghaippt repackedSubstanceshanghaippt repacked
Substanceshanghaippt repackedLee Jungpyo
 
Kgc2014 jplee allegorithmic
Kgc2014 jplee allegorithmicKgc2014 jplee allegorithmic
Kgc2014 jplee allegorithmicLee Jungpyo
 
양손 도끼 모델링 과정 작성자 (천동재.)
양손 도끼 모델링 과정 작성자 (천동재.)양손 도끼 모델링 과정 작성자 (천동재.)
양손 도끼 모델링 과정 작성자 (천동재.)Lee Jungpyo
 
바바누드바디
바바누드바디바바누드바디
바바누드바디Lee Jungpyo
 
한손 도끼 모델링 과정 (작성자 강구영)
한손 도끼 모델링 과정   (작성자 강구영)한손 도끼 모델링 과정   (작성자 강구영)
한손 도끼 모델링 과정 (작성자 강구영)Lee Jungpyo
 
코덱스 워리어 무기제작가이드 천동재
코덱스 워리어 무기제작가이드 천동재코덱스 워리어 무기제작가이드 천동재
코덱스 워리어 무기제작가이드 천동재Lee Jungpyo
 
Ndo2 가이드 강구영
Ndo2 가이드 강구영Ndo2 가이드 강구영
Ndo2 가이드 강구영Lee Jungpyo
 
Asia bootcamp devclan
Asia bootcamp devclanAsia bootcamp devclan
Asia bootcamp devclanLee Jungpyo
 
에코노베이션 3차 세미나 교안
에코노베이션 3차 세미나 교안에코노베이션 3차 세미나 교안
에코노베이션 3차 세미나 교안Lee Jungpyo
 
에코노베이션 3차 세미나 교안 1st Edition.~
에코노베이션 3차 세미나 교안 1st Edition.~에코노베이션 3차 세미나 교안 1st Edition.~
에코노베이션 3차 세미나 교안 1st Edition.~Lee Jungpyo
 
홍길동제안서
홍길동제안서홍길동제안서
홍길동제안서Lee Jungpyo
 
핼리네시아러프컨셉기획
핼리네시아러프컨셉기획핼리네시아러프컨셉기획
핼리네시아러프컨셉기획Lee Jungpyo
 

More from Lee Jungpyo (20)

X2M water by 巨人网咯 2018
X2M water by 巨人网咯 2018X2M water by 巨人网咯 2018
X2M water by 巨人网咯 2018
 
Python maya 2018 setup note
Python maya 2018 setup notePython maya 2018 setup note
Python maya 2018 setup note
 
天谕手游图形版本
天谕手游图形版本天谕手游图形版本
天谕手游图形版本
 
Unite17 shanghai-lee jungpyo-neteasepangu-full chinese
Unite17 shanghai-lee jungpyo-neteasepangu-full chineseUnite17 shanghai-lee jungpyo-neteasepangu-full chinese
Unite17 shanghai-lee jungpyo-neteasepangu-full chinese
 
Substanceshanghaippt repacked
Substanceshanghaippt repackedSubstanceshanghaippt repacked
Substanceshanghaippt repacked
 
Kgc2014 jplee allegorithmic
Kgc2014 jplee allegorithmicKgc2014 jplee allegorithmic
Kgc2014 jplee allegorithmic
 
Cgc 2014
Cgc 2014Cgc 2014
Cgc 2014
 
양손 도끼 모델링 과정 작성자 (천동재.)
양손 도끼 모델링 과정 작성자 (천동재.)양손 도끼 모델링 과정 작성자 (천동재.)
양손 도끼 모델링 과정 작성자 (천동재.)
 
바바누드바디
바바누드바디바바누드바디
바바누드바디
 
한손 도끼 모델링 과정 (작성자 강구영)
한손 도끼 모델링 과정   (작성자 강구영)한손 도끼 모델링 과정   (작성자 강구영)
한손 도끼 모델링 과정 (작성자 강구영)
 
코덱스 워리어 무기제작가이드 천동재
코덱스 워리어 무기제작가이드 천동재코덱스 워리어 무기제작가이드 천동재
코덱스 워리어 무기제작가이드 천동재
 
Ndo2 가이드 강구영
Ndo2 가이드 강구영Ndo2 가이드 강구영
Ndo2 가이드 강구영
 
Asia bootcamp devclan
Asia bootcamp devclanAsia bootcamp devclan
Asia bootcamp devclan
 
에코노베이션 3차 세미나 교안
에코노베이션 3차 세미나 교안에코노베이션 3차 세미나 교안
에코노베이션 3차 세미나 교안
 
에코노베이션 3차 세미나 교안 1st Edition.~
에코노베이션 3차 세미나 교안 1st Edition.~에코노베이션 3차 세미나 교안 1st Edition.~
에코노베이션 3차 세미나 교안 1st Edition.~
 
Resume
ResumeResume
Resume
 
Pre analyze for
Pre analyze forPre analyze for
Pre analyze for
 
홍길동제안서
홍길동제안서홍길동제안서
홍길동제안서
 
핼리네시아러프컨셉기획
핼리네시아러프컨셉기획핼리네시아러프컨셉기획
핼리네시아러프컨셉기획
 
초기분석등
초기분석등초기분석등
초기분석등
 

Recently uploaded

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Shader EXAM.

  • 1. Codex Shader들( CG이용 ) • Lambert ( Diffuse + Ambient ) • Rim ( Lambert + Rim ) • Rim_Bump ( Lambert + Bump + Rim ) • Blinn ( Diffuse + Ambient + Specular + Rim ) • Blinn_Bump ( Blinn + Bump ) • Skin ( Blinn_Bump + Skin컬러 )
  • 2.
  • 3. Specula r Rim Skin
  • 4. CG 쉐이더 코드 • Shader "_Game/Blinn_Bump" • { • SubShader • Properties • { • { • _MainTex( "Diffuse(RGB) MaskSpec(A)", 2D ) = "white" {} • Tags { "Queue" = "Geometry" "LightMode" = "ForwardBase" } • Lighting On • _Ambient( "Ambient Color", Color ) = (0,0,0,0) • Pass • _RimColor( "Rim Color", Color ) = (0.26,0.19,0.16,0.0) • { • _RimPower( "Rim Power", Range( 1, 10.0 ) ) = 3.0 • _Glossiness( "Glossness", Range( 0, 128 ) ) = 64 • CGPROGRAM • _Shininess( "Shineness", Range( 0.5, 10.0 ) ) = 1.0 – #pragma vertex Vert • _NonLightGloss( "NonLightGloss", Range( 0, 1.0 ) ) = 1.0 – #pragma fragment Frag • _BumpMap( "Normal(RGB) Translucent(A)", 2D ) = "bump" {} • _BumpWeakening( "Weakness of Bump", Range( 0, 1 ) ) = 0 – #define BLINN_BUMP_SHADER – #include "GameHeader.cginc" • } – #include "GameSurface.cginc" – #define SURFACE_COLOR BLINN_SURFACE_COLOR – #include "GameShader.cginc" • ENDCG 확장자 cginc 파일을 만들 • } 고, 이를 include하여 다음과 같 • • } } 이 간단하게 cg쉐이더를 작성 할 수 있다.