This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

#Dystopia

Unity3D Noob to Pro: Question Collection

145 posts in this topic

UNITY3D NOOB TO PRO SERIES COLLECTION
So I'm starting this new forum "series" to allow the community to answer some of the most frequently asked questions and (some of my own) in the most simple terms; for comprehensiveness sake.
 
SHORTCUTS:
What is a Shader?
Please login or register to see this link.
What is a Prefab?
Please login or register to see this link.
What is RayCast?
Please login or register to see this link.
What is a RigidBody?
Please login or register to see this link.
What is a GameObject?
Please login or register to see this link. Please login or register to see this link.
What is an .FBX file & How is it different to other formats?
Please login or register to see this link.

What is Lightmapping & How do you apply it?

Please login or register to see this link.

What is NavMesh?
Please login or register to see this link.

What is Occlusion Culling?

Please login or register to see this link.

What is a Light Probe?

Please login or register to see this link.

How do you create & implement a script, so that, when you collect a gameobject a message appears?
Please login or register to see this link.
 
RULES:
1) Please, do NOT use this post for general discussion, provide quick, clear and in-depth answers.                                        
2) Please, do NOT answer by telling us to look at the manual or watch a video. Each thread is supposed to answer their question and fill that gap in their knowledge and not to be insulted by their fellow community.
3) To win; you must provide a fully featured, helpful answer.
4) Good Luck & Have Fun! 
 
PRIZE:
The winner shall get +1 rep and their answer shall be chosen as best answer.  
 
 
So today's NOOB to PRO question is:
 
Today's question has closed.
See who won and come back in a few minutes for the new question!
 
 ----- Meanwhile, give our thread a +1 if you enjoy it! -----
Edited by #Dystopia
13 people like this

Share this post


Link to post
Share on other sites

:d

Shader caculate rendering effects on graphics hardware with a high degree of flexibility

Share this post


Link to post
Share on other sites

A file used in Unity.

 

EDIT:

My serious answer

A file that contains commands to alter how a material, surface or object looks.

1 person likes this

Share this post


Link to post
Share on other sites

What is a shader?

 

Short Answer:

Shaders are involved with rendering(Textures & Lighting). They have essential properties for texture mixing.

 

Long Answer:

Shaders are specific files of code in a special language where you can define how textures blend in with others and use traits such as glossiness, color overlay or more special ones such as the new DX11 surface shaders that affect meshes based or their textures.

2 people like this

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

I think we have a winner! Congrats on winning the first daily question DarkChaos. (a personal thanks for not making a stupid, useless post.)

3 people like this

Share this post


Link to post
Share on other sites

So today's NOOB to PRO question is:


What is a Prefab?


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


RULES


Please, do NOT answer by telling us to look at the manual or watch a video. Each thread is supposed to answer their question and fill that gap in their knowledge and not to be insulted by their fellow community.

 


Please, do NOT use this post for general discussion, provide quick, clear and in-depth answers.


 


To win; you must provide a fully featured, helpful answer. The winner shall get +1 rep and their answer shall be chosen as best answer.


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Good Luck & Have Fun!


Share this post


Link to post
Share on other sites

prefab is like the container of an asset or gameobject, it saves the things (scripts, components) that are attached on the gameobject or asset. So you don't need to attach the script or etc every time you drag in the model. 

2 people like this

Share this post


Link to post
Share on other sites

Anyway. my answer is:

Prefabs are preset and reusable assets that are used to improve workflow and efficiency.

1 person likes this

Share this post


Link to post
Share on other sites

Congratulations, taichiu727! You've provided the community with today's best answer! - You've explained what a prefab is in a comprehensive but simple way. Kudos!

 

prefab is like the container of an asset or gameobject, it saves the things (scripts, components) that are attached on the gameobject or asset. So you don't need to attach the script or etc every time you drag in the model.

 

DaBoss has also been rewarded with a +1 rep for reorganising the topic in such a great way!

 

Be sure to answer tomorrow's question and win the hearts of the community!

Share this post


Link to post
Share on other sites

Lol shouldn't you spare some time? You only waited 3 hours...I didn't even saw it, give a day or 12 hours at least

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

The question is still open for answering, and  another best answer shall be selected.

This will only happen today due to bad timing...Have a go! :d

1 person likes this

Share this post


Link to post
Share on other sites

it is a setting in light that you can change which allows you to change the shape or flow of the light. Not sure though 

Edited by taichiu727

Share this post


Link to post
Share on other sites

A light cookie changes how the light looks, heres a small example:

class-Light-2.jpg

 

class-Light-3.jpg

Share this post


Link to post
Share on other sites

A light cookie is a texture that uses alpha (transparency) to generate a pattern on a light. Look at themars2011's pictures for more information.

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

 

Sure you can! But hurry, this daily question ends in 6 hours...

Share this post


Link to post
Share on other sites

What is a light cookie?

 

Light cookies are light filters that control the way light spreads in dimensional space. You can simulate shadow effects just like if you had something in front of a flashlight so as it creates shapes. In the image below you can simulate fake shadows as if there were several lights while there is only one that creates this effect.

 

250px-Subway_lights_in_tunnel.JPG

1 person likes this

Share this post


Link to post
Share on other sites

Am I too late? Please delete

A Light Cookie Is either flat texture or cube map with an alpha channel that determines where light source projects through or were it is blocked.

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

 

Congratulations once again DarkChaos, you have provided the community with another great answer with a comprehensive explanation.

 

2nd place, with no prize I'm afraid goes to themars2011 for using his initiative to add picture to explain his point further.

 

Finally, in the 3rd place, comes DaBoss with an advanced answer... but helpful nevertheless!

 

A huge thank you to all of today's participants!

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

 

I'm afraid you are too late for yesterdays question...But I will release today's daily question in a few minutes....Get ready....and good luck!

Share this post


Link to post
Share on other sites

Today's question is:


 


-------------------------------------------------------------------------


 


What is RayCast?


 


-------------------------------------------------------------------------


Edited by #Dystopia

Share this post


Link to post
Share on other sites

A raycast is a ray that casts in a direction from the origin point. If it hits a collider it returns detailed information with RayCastHit such as transform, gameObject etc..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now