ProjectorsInUnity: Unterschied zwischen den Versionen

Aus hyperdramatik
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Here's a quick setup guide on how to use projectors in unity: Prerequisites: The texture you want to project should be set up like this: Datei:unityProjecto…“)
 
Keine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen desselben Benutzers werden 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:
[[Datei:unityProjectorTextureSettings.jpg]]


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:
[[Datei:unityProjectorSettings.jpg]]


4. Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).
[[Image:unityProjectorTextureSettings.jpg|right|thumb|Image 1 - Texture Import Settings]]


5. Things should look like this:
* Create new empty GameObject
[[Datei:unityProjectorWorking.jpg]]
* Add Component Projector
* 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]]
* 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