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
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 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 3 of 3 1 2 3
Re: Light Shafts [Re: 3run] #334800
07/25/10 10:10
07/25/10 10:10
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
To smoothen the light shaft, change the loop in flashlight_act to something like this
Code:
for(i=0;i<100;i++)//<--Double the number of lightshaft flares
	{
		k+=0.29;//size++
		you=ent_create("ball.mdl",vector(0,0,0),flare_act);
		//set(you,FLAG1|TRANSLUCENT|BRIGHT);
		set(you,FLAG1|BRIGHT);
		you.alpha=1;
		you.material=mtlShaft;
		you.skill1=i*4;//x++ <--Make them closer
		you.scale_x=you.scale_y=you.scale_z=k;
	}



It will make it run slower though.

[EDIT]
Can some one please compile it to exe? I want to try it?
BTW, is there a way to make the stencil shadow volume visible? I think it can be used to simulate the light shaft

Last edited by bart_the_13th; 07/26/10 03:55.
Re: Light Shafts [Re: bart_the_13th] #340443
09/04/10 12:47
09/04/10 12:47
Joined: Nov 2008
Posts: 216
J
jane Offline
Member
jane  Offline
Member
J

Joined: Nov 2008
Posts: 216
Use the Crytek-SSAO and fog with camera.fog_start = -1*camera.clip_far;
camera.fog_end = 1*camera.clip_far; with camer.clip_near = 0;
camera.clip_far = 30000; and the stencil shadow volume is visible.

Its a still not solved error but that maybe what you search.

Page 3 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

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