Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
2 registered members (steyr, alibaba), 534 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Tesselating at highest level #332103
07/07/10 16:48
07/07/10 16:48
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Hey Guys,

me again. Now I am asking on how to get the best result with the lightning in WED. I want ti have a black level, no light. But there is one entity that sends out light ant the player has to follow the entity. That isn't the problem. The problem is: How to let the light look good? Even with tesselating at highest level u can see those triangles? Or make the level with med and use super much vertices? wink


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Tesselating at highest level [Re: Liamissimo] #332106
07/07/10 16:55
07/07/10 16:55
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
You'll want a per-pixel shader. Do you have Commercial or Pro?

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Tesselating at highest level [Re: JibbSmart] #332107
07/07/10 16:57
07/07/10 16:57
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Nohoho... I want to buy Commercial laugh Just a few months, end of summer i am able to do so. No other way? I don't want to work with this 30 days trial wink


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Tesselating at highest level [Re: Liamissimo] #332110
07/07/10 17:00
07/07/10 17:00
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
It's the only way to do it without ridiculous tesselation. As soon as you get Commercial hit-up the shader workshop and you'll be a shader guru within hours laugh Or learn while using the trial and you'll fall in love with shaders for sure, and you'll be even more excited about getting Commercial.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Tesselating at highest level [Re: JibbSmart] #332111
07/07/10 17:02
07/07/10 17:02
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Ok, so I have to make the game as far as I can and then with Commercial it will ahve AWESOME shaders. Normalmap, Specularmap, Refraction shader, Water shader = <3


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Tesselating at highest level [Re: Liamissimo] #333869
07/19/10 16:36
07/19/10 16:36
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Okay, now I have a commercial version laugh where do I find this per pixel shader? The big shader index in the forum doenst work wink


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Tesselating at highest level [Re: Liamissimo] #333922
07/20/10 02:20
07/20/10 02:20
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Congrats laugh Get into the shader workshop (at least up to the end of diffuse lighting, which is per-pixel, but since it only uses the sun it doesn't to attenuation and won't completely solve your dynamic light problem). Then search the manual for "vecLightPos" and see how they show you to handle dynamic lights.

The code should be very simple if you only need to handle the one dynamic light.

You'll want to pass the positions of the lights and some other info from the vertex shader to the pixel shader so that you can do per-pixel lighting.

I hope that gets you started.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Tesselating at highest level [Re: JibbSmart] #333944
07/20/10 08:45
07/20/10 08:45
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Okay, downloaded it, seems like programming a shader yourself isn't the hardest thing of the world wink


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Tesselating at highest level [Re: JibbSmart] #333946
07/20/10 08:55
07/20/10 08:55
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
At last, I did it grin . A fake perpixel lighting using texture projection

The level were compiled without tesselation. The idea is to limit the projection using another texture with another direction(tilt+90). The light source is the torch held by the entity.









The code is still messy since I only modify my current project. Hopefully I'll make a demo in the end of this month

Re: Tesselating at highest level [Re: bart_the_13th] #333947
07/20/10 08:57
07/20/10 08:57
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
That would be great;)


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Page 1 of 3 1 2 3

Moderated by  HeelX, Spirit 

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