How to Make Every Specular PBR Surface Input in the URP/Lit Shader | Unity Tutorial

  Рет қаралды 2,383

LlamAcademy

LlamAcademy

Күн бұрын

Пікірлер: 18
@knobbymcfeck
@knobbymcfeck 7 ай бұрын
I've been struggling with this for ages, thank you so so much for going through it step-by-step!
@rapidfiregames_
@rapidfiregames_ 6 ай бұрын
Thank you for putting this together! I'm going through your shader course now
@WarspawnOG
@WarspawnOG 6 ай бұрын
Fantastic, thank you! This is just what I needed!!
@Hazzel31337
@Hazzel31337 7 ай бұрын
thank you i defintily run into this issue before
@jameslafritz2867
@jameslafritz2867 6 ай бұрын
Thanks for this, it was interesting to learn the Environment Reflections keyword I always wondered how to do that and the height map. You missed that Specular Highlights (_SpecularHighlights_Off) checkbox and the source, the default material you used is set to Specular Alpha instead of Albedo Alpha. I also thought that the specular map was done the same way as the metallic map (metallic, roughness, and smoothness baked in one texture) of did this change with Unity 6, its been awhile since I looked at shader graph and how Unity Default. I did find it interesting that behind the scenes the 2 boolean keywords are backwards behind the scenes, inspecting the a material that uses the Universal Render Pipeline/Lit shader in Debug Mode they have them listed as _SpecularHighlights and _EnviromentReflections ([ToggleOff] _SpecularHighlights("Specular Highlights", Float) = 1.0 [ToggleOff] _EnvironmentReflections("Environment Reflections", Float) = 1.0), also have the _ParallaxMap as a "black" texture not the default "white" (Node Settings->Mode). Why they choose to do it this way (Have the shader Graph URP Lit and The Universal Render Pipeline/Lit keywords to be diffrent) to make it more difficult for us to figure out is beyond me. the Universal Render Pipeline/Lit shader you scroll far enough down you find the kewords the shader actuallly uses _SPECULARHIGHLIGHTS_OFF, _ENVIRONMENTREFLECTIONS_OFF so thank you for this new insight on how the keywords actually work in the shader itself. To bad theres not an actual node that we can use to set keywords on the shader itself so we can have a boolean value on the inspector side manipulate it and then pass it to the shader I guess that what the custom function node is for.
@LlamAcademy
@LlamAcademy 6 ай бұрын
Thanks for sharing this 🙏
@redragon1229
@redragon1229 7 ай бұрын
There's a free asset called "Reconstructed Lit Shader" which does the same in one custom node, check it out if you wanna skip some corners.
@LlamAcademy
@LlamAcademy 7 ай бұрын
Thanks for sharing!
@Jigglefrizz
@Jigglefrizz Ай бұрын
You should do the same for HDRP. It doesn't have specular, and has mask instead!
@NOTAHEK
@NOTAHEK 7 ай бұрын
Where's you other camera man who you use to poke during the intro 😢 really miss him
@LlamAcademy
@LlamAcademy 7 ай бұрын
Who, me?
@NOTAHEK
@NOTAHEK 7 ай бұрын
@@LlamAcademy your camera man. You use to have him in the intro 🥺
@realotoko
@realotoko 6 ай бұрын
pls make tutorial on how to open unity i have downloaded unity hub but i dunno what to do next
@LlamAcademy
@LlamAcademy 6 ай бұрын
I found this guy has a tutorial on how to install & setup Unity: kzbin.info/www/bejne/m6jMqGWqmMuYpJo
@seanloughran6714
@seanloughran6714 7 ай бұрын
I'll never understand why they don't provide a templated shader graph with the basic URP/HDRP PBR shader already pre-built in. Even when adding back in all the functionality by hand, the drawers in the inspector looks bad.
@LlamAcademy
@LlamAcademy 7 ай бұрын
Yeah. That would be awesome! Maybe I need to do a follow up video on how to create a custom inspector for your shader 🤔
@jameslafritz2867
@jameslafritz2867 6 ай бұрын
@@LlamAcademy This would solve the workflow switch issue and the flipped keywords.
How to Avoid Ghost Collisions | Unity Tutorial
10:04
LlamAcademy
Рет қаралды 4,1 М.
10 Shaders in 10 Minutes - Unity Shader Graph
9:38
Daniel Ilett
Рет қаралды 113 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Why Are So Many Sh** Games Made in the Unity Game Engine?
6:55
Sasquatch B Studios
Рет қаралды 27 М.
PBR Materials Explained
8:04
Graffinity
Рет қаралды 286 М.
I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 7 МЛН
PBR Workflow in HD Render Pipeline Unity
7:55
UGuruz
Рет қаралды 36 М.
GRASS SWAY in Unity - SHADER GRAPH
16:56
Brackeys
Рет қаралды 739 М.
Write A Custom URP Shader Using Unity BRDF
20:19
Benjamin Swee - Custom Unity Shaders
Рет қаралды 6 М.
What are the Unity render pipelines and which to use? | HDRP vs URP 2022
7:14
Material Ambient Occlusion in Unreal Engine 5
6:53
William Faucher
Рет қаралды 87 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН