Are stencil shadows still usable in FTE?

Discuss programming topics that involve the OpenGL API.
Post Reply
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Are stencil shadows still usable in FTE?

Post by toneddu2000 »

I tried to set r_shadow_shadowmapping to 0 in FTE but it just puts shadows to off, instead console says about the command

Code: Select all

Enables soft shadows instead of stencil shadows
Are stencil shadows deprecated in OpenGL core? Is it possible to use it even in modern OpenGL calls?

If anyone has a clue that would be appreciated
Meadow Fun!! - my first commercial game, made with FTEQW game engine
frag.machine
Posts: 2126
Joined: Sat Nov 25, 2006 1:49 pm

Re: Are stencil shadows still usable in FTE?

Post by frag.machine »

Are stencil shadows part of the OpenGL ? I always believed they were implemented by the game engines, not some kind of built in extension...
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Are stencil shadows still usable in FTE?

Post by toneddu2000 »

yeah, probably you're right, my mistake. nvidia's shadow volume implementation via GLSL
Still no idea why it doesn't work on FTE
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Are stencil shadows still usable in FTE?

Post by Spike »

it needs a stencil buffer to be able to use stencil shadows.
this is generally the first thing that gets disabled when context creation would otherwise fail, as its often mutually exclusive with 16bit or 32bit depth buffers, depending on the driver.
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Are stencil shadows still usable in FTE?

Post by toneddu2000 »

ah, I see, thanks Spike. I was trying to revive it to use parallel shadows because, as I pm'd you, unfortunately parallel lights shadowmapping keeps crashing randomly on FTE. Do you think there could be a workaround to use parallel lights (via ORTHOLIGHT) and avoid crashing?
Thanks
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Post Reply