Both sides previous revision Previous revision | |||
hpl3:game:gui [2013/11/04 16:37] luis [Widgets] |
hpl3:game:gui [2015/09/17 10:14] (current) ian.thomas [In-Scene GUI Rendering] |
||
---|---|---|---|
Line 182: | Line 182: | ||
====== In-Scene GUI Rendering ====== | ====== In-Scene GUI Rendering ====== | ||
- | In order for the a game entity to have a GUI surfaces the following criteria must be met: | + | In order for the a game entity to have a GUI surface the following criteria must be met: |
* The surface that is to contain the GUI must be flat, consist of 4 vertices and have UV coords going from 0->1 where (0,0) is the upper left corner. | * The surface that is to contain the GUI must be flat, consist of 4 vertices and have UV coords going from 0->1 where (0,0) is the upper left corner. | ||
* The material of this surface must be translucent. It can be any blend mode though, making it possible to have transperant in-game GUI. | * The material of this surface must be translucent. It can be any blend mode though, making it possible to have transperant in-game GUI. |