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
Zeile 3: Zeile 3:
Prerequisites:
Prerequisites:
The texture you want to project should be set up like this:
The texture you want to project should be set up like this:
[[Datei:unityProjectorTextureSettings.jpg]]
[[Image:unityProjectorTextureSettings.jpg|Texture Import Settings|Image: 500 pixels]]  


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


4. Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).
4. Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).


5. Things should look like this:
5. Things should look like this:
[[Datei:unityProjectorWorking.jpg]]
[[Image:unityProjectorWorking.jpg|Projecting Image|Image: 500 pixels]]

Version vom 10. Februar 2019, 16:52 Uhr

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: Image: 500 pixels

1. Create new empty GameObject 2. Add Component Projector 3. Make a new Material with "Projector/Light" shader and your material as the Cookie texture, like this: Image: 500 pixels


4. Make sure the Material you are projecting on has a texture (Standard Shader and a texture in Albedo).

5. Things should look like this: Image: 500 pixels