Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Per-Pixel/Per-Vertex Lighting #364173
03/16/11 19:01
03/16/11 19:01
Joined: Nov 2008
Posts: 946
T
the_clown Offline OP
User
the_clown  Offline OP
User
T

Joined: Nov 2008
Posts: 946
This is a rather stupid question I guess, but anyways:
From all what I've read, the difference between per-pixel lighting and per-vertex lighting is that the first is calculated per-pixel (sounds rather logical), speaking in the pixel shader.
Well, if this is right, are the shaders from the shader tutorial using per-pixel lighting then? If so, I understood it, if not, well, then I'm lost. Hope this question isn't too dumb.

Re: Per-Pixel/Per-Vertex Lighting [Re: the_clown] #364177
03/16/11 19:13
03/16/11 19:13
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
As of how I understood it, this is correct. Thus per-pixel lightning gives a smoother and better looking result then vertex-lightning. The quality of the vertex lightning get's better, the more vertex a model has. Per-pixel lightning is slower then vertex lightning.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Per-Pixel/Per-Vertex Lighting [Re: the_clown] #364178
03/16/11 19:14
03/16/11 19:14
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Quote:
Well, if this is right, are the shaders from the shader tutorial using per-pixel lighting then?
Yes. The difference is very small, however, with directional lights (such as the sun).

Jibb

EDIT: slightly ninja'd.

Last edited by JulzMighty; 03/16/11 19:14.

Formerly known as JulzMighty.
I made KarBOOM!
Re: Per-Pixel/Per-Vertex Lighting [Re: JibbSmart] #364550
03/19/11 10:47
03/19/11 10:47
Joined: Nov 2008
Posts: 946
T
the_clown Offline OP
User
the_clown  Offline OP
User
T

Joined: Nov 2008
Posts: 946
Okay, good that I understood it right then. Thank you.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1