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 (TipmyPip), 18,649 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
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 | 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