3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Panel shader
[Re: 3run]
#402011
05/28/12 19:38
05/28/12 19:38
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
@3run
You can create models / sprites in your level for the interface and use shaders... but the difficult part is to get the right position and orientation for all that stuff
EDIT: the flag ZNEAR can be really helful, to make the interface not clipping through level blocks / entitys
Last edited by Kartoffel; 05/28/12 19:45.
POTATO-MAN saves the day! - Random
|
|
|
Re: Panel shader
[Re: 3run]
#402014
05/28/12 20:11
05/28/12 20:11
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Well I maybe explained it wrong:
It might be not always worth it, but in the game I'm currently working on I am using Models and Sprites for the Interface (Buttons, Healthbar and this stuff)
I create them with ent_create(...); and then always set the position in front of the camera and change the angles so that it faces the camera.
It's much harder than 'just' using Panels... but sometimes it can look really great
Last edited by Kartoffel; 05/28/12 20:15.
POTATO-MAN saves the day! - Random
|
|
|
Re: Panel shader
[Re: 3run]
#402019
05/28/12 20:23
05/28/12 20:23
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
well... for displaying strings or vars I use PANELs... everything else would be too much work I guess that isn't the way to go Youre right. Using this for the whole Inteface isn't worth all the work. Because of that I only use it where It doesn't take too much time and work. I'm sorry but thats the only way I know to create an interface with shaders and without using view-entitys.
Last edited by Kartoffel; 05/28/12 20:24.
POTATO-MAN saves the day! - Random
|
|
|
|