1 registered members (AndrewAMD),
1,248
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Dynamic Realtime Shadows
[Re: garv3]
#270014
06/05/09 14:44
06/05/09 14:44
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
This is a long thread, so ignore me if its already been said, but have you tried on another machine, and/or another gstudio version, and/or tried a gstudio re-install?
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Dynamic Realtime Shadows
[Re: bart_the_13th]
#270109
06/06/09 11:20
06/06/09 11:20
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
ok.. before everyone sais more things to let me think, that you think i´m stupid:
//=================================================================================================================================
// //
// DAS MAINSCRIPT //
// ^^^^^^^^^^^^^^ //
// //
//=================================================================================================================================
// //
// EINBINDEN DER UNTERORDNER UND SCRIPTS //
// """"""""""""""""""""""""""""""""""""" //
// //
//=================================================================================================================================
#include "acknex.h"
#include "default.c"
//=================================================================================================================================
// //
// PANELS //
// """""" //
// //
//=================================================================================================================================
//=================================================================================================================================
// //
// FUNKTIONEN //
// """""""""" //
// //
//=================================================================================================================================
function lichttest()
{
my.lightrange = 1000;
my.x = 500;
my.y = 500;
my.z = 800;
set(my, SHADOW | CAST);
// while(1)
// {
// if(editorgogo == 0)
// {
// vec_set(my.x,player.x);
// my.y += 100;
// my.z += 400;
// }
// wait(1);
// }
}
function test()
{
set(my, SHADOW);
}
//=================================================================================================================================
// //
// AKTIONEN //
// """""""" //
// //
//=================================================================================================================================
//=================================================================================================================================
// //
// DAS MAINSCRIPT //
// """""""""""""" //
// //
//=================================================================================================================================
function main()
{
fps_max = 60;
video_mode = 8;
d3d_antialias = 9;
video_set(1024,768,32,0);
video_window(vector(10,10,NULL),NULL,2,"Test");
level_load("Editor.wmb");
sky_color.red = 1;
sky_color.green = 1;
sky_color.blue = 1;
wait(3);
shadow_stencil = 2;
mouse_mode = 0;
ent_create("Charakter_human_Template_2.mdl",vector(150,150,1000),test);
ent_create(NULL,vector(0,0,156),lichttest);
wait(1);
hud_update();
wait(1);
}
i tried with shadow_stencil = 2; before the level_load too..
|
|
|
Re: Dynamic Realtime Shadows
[Re: Espér]
#270131
06/06/09 13:18
06/06/09 13:18
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Stup up to public beta 7.77 then, its got no problems to the best of my knowledge.
It may also fix the issue too. Mixing old acknex.h's with with different engine can never be trusted.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|