About Stencil buffer

New member
Posts: 6
Joined: Thu Oct 30, 2014 09:05

About Stencil buffer

by giacomo986 » Mon Nov 10, 2014 11:11

Hello everyone,

I see that minetest use Irrlicht as engine for the game and I checked the Irrlicht website but I can't find any topic on Stencil Buffer.
I think Irrlicht doesn't support stencil buffer and the portal mod that I want to do needs stencil buffer.

I this moment there are 2 options:
1) stop trying to do portal mod
2) add stencil buffer support to the engine

maybe i can try to implement stencil buffer in the game myself but I have to study irrlicht and i don't know how much it will takes.

I link to you where i learned about portal with stencil buffers

any suggestion is appreciated

User avatar
Posts: 659
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany
GitHub: adrido

Re: About Stencil buffer

by addi » Mon Nov 10, 2014 13:52

irrlicht supports stencil buffer
i know this from my own experiments

Code: Select all
irr::SIrrlichtCreationParameters params;
   params.Stencilbuffer=true;//<--used for calculating shaddows

device = createDeviceEx(params);

Return to Feature Discussion

Who is online

Users browsing this forum: No registered users and 4 guests