Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (ozgur), 762 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
shadow and antialising #401244
05/15/12 20:16
05/15/12 20:16
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
i have a problem with this code:

function main()
{
d3d_antialias=1;
shadow_stencil=4;
stencil_blur(1);
level_load("qq.wmb"

in this case there is no shadow.
if i comment d3d_antialise then shadow come back.

i need shadow and anitalise. what can i do?

Re: shadow and antialising [Re: flatron] #401266
05/16/12 07:07
05/16/12 07:07
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
(I also had problem with stencil_blur(1); when I used the trial version, blurred stencil shadows disappeared sometimes. I did not use antialiasing, maybe another d3d_*** setting caused it, probably d3d_mipmapping)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: shadow and antialising [Re: sivan] #401269
05/16/12 07:21
05/16/12 07:21
Joined: Apr 2012
Posts: 62
wrekWIRED Offline
Junior Member
wrekWIRED  Offline
Junior Member

Joined: Apr 2012
Posts: 62
does the same with my level when both d3d_antialias and stencil_blur is set.

Re: shadow and antialising [Re: wrekWIRED] #401410
05/18/12 19:02
05/18/12 19:02
Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
TheShooter Offline
User
TheShooter  Offline
User

Joined: Jul 2010
Posts: 974
United Arab Emirates, Dubai
I read somewhere, that antialising and shadows are not compatible with each other. But I really dont know.


Staub ist das neue Prime!!

Programming is like sex:
One mistake and you have to support it for the rest of your life.

Aktuelles Projekt: http://thisiswargame.bplaced.net/index.html

A8 Commercial *freu*
Re: shadow and antialising [Re: TheShooter] #401501
05/20/12 22:15
05/20/12 22:15
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
mhh d3d_antialias and shadows are no problem here, but with stencil_blur i cant see the shadow.
if you need d3d_antialias and stencil_blur, i think you can use a shader for that.


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D

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