ProjectorsInUnity: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 2: Zeile 2:
== Here's a quick setup guide on how to use projectors in Unity 2018.3.x ==
== Here's a quick setup guide on how to use projectors in Unity 2018.3.x ==


0. The texture you want to project should be set up like this:
* The texture you want to project should be set up like in [1]
[[Image:unityProjectorTextureSettings.jpg|500px|Image: Texture Import Settings]]  


1. Create new empty GameObject
[[Image:unityProjectorTextureSettings.jpg|right|thumb|Image 1 - Texture Import Settings]]  
2. Add Component Projector
3. Make a new Material with "Projector/Light" shader and your material as the Cookie texture, like this:
[[Image:unityProjectorSettings.jpg|500px|Image: Projector Component Settings]]  


 
* Create new empty GameObject
 
* Add Component Projector
4. Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).
* Make a new Material with "Projector/Light" shader and your material as the Cookie texture, like in [2]
 
[[Image:unityProjectorSettings.jpg|right|thumb|Image 2 - Projector Component Settings]]
5. Things should look like this:
* Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).
[[Image:unityProjectorWorking.jpg|500px|Image: Projector in unity]]
* Things should look like in [3]
[[Image:unityProjectorWorking.jpg|thumb|Image 3 - Final Outcome]]

Aktuelle Version vom 10. Februar 2019, 16:59 Uhr

Here's a quick setup guide on how to use projectors in Unity 2018.3.x

  • The texture you want to project should be set up like in [1]
Image 1 - Texture Import Settings
  • Create new empty GameObject
  • Add Component Projector
  • Make a new Material with "Projector/Light" shader and your material as the Cookie texture, like in [2]
Image 2 - Projector Component Settings
  • Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).
  • Things should look like in [3]
Image 3 - Final Outcome