Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Noah-1 · Mar 14, 2011 at 05:51 AM · shaderstutorials

Tutorials on shaders?

Hello guys well I know that a very important part of Unity and game development are shaders but I really cant understand them.

Are they written in javascript?

Do you know a good place to learn something about shaders?

I also have seen in some unity assets that the artists create the normal textures and sometimes some black/white textures why?

Help is aprecciated and rated.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · Mar 14, 2011 at 07:01 AM 0
Share

Have you read the docs? http://unity3d.com/support/documentation/$$anonymous$$anual/Shaders.html

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by loopyllama · Mar 14, 2011 at 06:58 AM

Jessy has made this wealth of information:

http://m.youtube.com/#/profile?desktop_uri=%2Fuser%2FJessyUV&sort=p&start=0&livestreaming_tutorial=False&ytsession=%7B%7D&channel_id=0&user=JessyUV&gl=US

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessy · Mar 14, 2011 at 12:44 PM 0
Share

That series covers nearly everything you can do with fixed function shaders, which is limited and sometimes not particularly efficient. I started learning GLSL yesterday, so I might add videos for that, in the future, but that's not going to help people who aren't targeting Apple or Android hardware exclusively.

avatar image Noah-1 · Mar 14, 2011 at 04:23 PM 0
Share

Thanks for helping the comunity so much jessy. How long have you been working with Unity?

avatar image
1
Best Answer

Answer by Nolirneen · Mar 14, 2011 at 08:33 AM

I know nothing at programming, so I don't know whether its a javascript, but I've been working on autodesk maya for a while now to understand how shaders work.

Basically, a shader is like a material for a 3d object. If a 3d object does not have a shader, it becomes transparent. Likewise, many objects can share one shader.


Artists can paint on a digital canvas, and that painting can be applied on a 3d object to give it that particular painting as its texture.


As for the black and white painting you saw, its a MAP to indicate which parts of the texture that the specific MAP the b/w painting is for, such as SPECULARITY, or REFLECTIVITY.

In the digital media world, white is the value of 1, and black 0.

What this means is, on the REFLECTIVITY MAP for a specific object, on the white parts of the map, reflections can be seen in the rendered view, while the grey areas are less reflective, and the black areas totally unreflective.

They do not affect the COLOUR of the painting texture, however. It's just a map.

Hope that helps. =)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Noah-1 · Mar 14, 2011 at 04:24 PM 0
Share

Thank you a lot.

avatar image
1

Answer by whydoidoit · Nov 05, 2012 at 08:44 AM

We've added a section on Shaders to Unity Gems which attempts to cover off the first baby steps in Shader programming.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Quality of Materials Imported from 3D max, tutorial. 2 Answers

Can anyone recommend a good tutorial or book on shaders? 0 Answers

Learning Node Editor Shaders for VFX 0 Answers

Shaders are failing to load 1 Answer

Unity 5 fragment shader that writes custom depth into the depth texture 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges