- Home /
what exactly is shader?
Hello, everybody! I know this may sound strange and funny to you. However, I wonder what exactly is shader? What will it do to our assets? And how can we use shader? Thanks in advance!
Answer by syclamoth · Sep 28, 2011 at 06:39 AM
A shader is a program which is passed to the Graphics Card for converting 3d model information and texture data into pictures you can see on your screen! Almost everything you see in real-time 3d applications comes from some kind of shader. You can use a shader in Unity by assigning a material to your object in the Mesh Renderer inspector.
Unity comes with a large selection of shaders for all sorts of different purposes. They are described in detail here. If you need special functionality, you can define your own shader in the CG shader language- but for most cases the Unity inbuilt shaders are more than enough!
thanks for ur answer. That's all I want to know. I have used that before but I didn't realize we call it shader. haha!!! Thanks for your information!!! ^^
What else do they call them? I've never heard it called anything else!
Well, I didn't know what it is called either besides shader. Haha!!!
Back in the day I used to call them Textures. Then I started calling them $$anonymous$$aterials. Then shaders... As I got more used to the ter$$anonymous$$ology I finally understood that the Shader is applied to the Texture in the $$anonymous$$aterial.
Ter$$anonymous$$ology is a b*tch for noobs!
...now I am back to speaking of the Textures and the $$anonymous$$aterials and hardly ever think of the shader attached...
Your answer
Follow this Question
Related Questions
Lighting in project assets window 0 Answers
How to force the compilation of a shader in Unity? 5 Answers
Find all materials using a specific shader 1 Answer
Optimisation: fewer draw calls or smaller draws? 1 Answer
Unity shader exported from Blender 0 Answers