[2.1]hlms material hole

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
Kohedlo
Orc
Posts: 435
Joined: Fri Nov 27, 2009 3:34 pm
Location: Ukraine, Sumy
x 32
Contact:

[2.1]hlms material hole

Post by Kohedlo »

need iparameters of standart HLMS - for makinh holes in geometry without holes.

example: house with door. cube with holed hlms- in case moving in ed in plake of door - is effet make invisible door in cube. :D
c++ game developer.
current project: Imperial Game Engine 2.5
Image
xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 168

Re: [2.1]hlms material hole

Post by xrgo »

I don't really understand the question, if you need to make holes in a geometry you could use textures with alpha channel and material with alpha blend/test... or you can use stencil test maybe? please explain a little better... and no offense but you should work in your english, or maybe use google translate or a spell checker before posting :P
User avatar
Kohedlo
Orc
Posts: 435
Joined: Fri Nov 27, 2009 3:34 pm
Location: Ukraine, Sumy
x 32
Contact:

Re: [2.1]hlms material hole

Post by Kohedlo »

https://www.youtube.com/watch?v=q_Fn_vfnxLw
- in this video: player have transpatent alpha channel that make hole on ground as bug. but.

in some game desings useful make dynamically generation 3d ogre mesh model holes with out remoeling 3d model file.
c++ game developer.
current project: Imperial Game Engine 2.5
Image
Post Reply