Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (Dico), 16,767 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Dynamic Lighting Example #457593
01/23/16 16:00
01/23/16 16:00
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline OP
Serious User
Steempipe  Offline OP
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
It took, and I kid you not, over 6 hours to produce a lighting model that I was content with.

I was having lots of trouble getting a worthwhile dynamic lighting contribution to a normalmapping project. I decided to start at the most basic level and build from there, by comparing results to the stock engine lighting and formulating the shader.

I can't believe how something that seems so simple can create such a headache.

This is lighting done in the vertex shader and them passed to the pixel shader.

Edit: I compiled with shader model 2.0. So that's the minimum requirement.

Download Demo Scene





Last edited by Steempipe; 01/23/16 16:29. Reason: requirements
Re: Dynamic Lighting Example [Re: Steempipe] #457600
01/23/16 17:21
01/23/16 17:21
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Great to see that you are making a great progress! Please, keep it up!

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Dynamic Lighting Example [Re: 3run] #457601
01/23/16 17:57
01/23/16 17:57
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline OP
Serious User
Steempipe  Offline OP
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Originally Posted By: 3run
Great to see that you are making a great progress! Please, keep it up!

Best regards!


Thanks! I plan to. Keeps me outta trouble these days shocked


Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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