ProjectorsInUnity: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
Here's a quick setup guide on how to use projectors in unity:


Prerequisites:
== 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 this:
[[Image:unityProjectorTextureSettings.jpg|500px|Image: Texture Import Settings]]


1. Create new empty GameObject
* The texture you want to project should be set up like in [1]
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]]  


[[Image:unityProjectorTextureSettings.jpg|right|thumb|Image 1 - Texture Import Settings]]


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