Author Topic: Engine Rendering alteration request: one way occlusion bricks  (Read 1607 times)


not really.
the one way mirror actaully gave me the idea

the one way mirror is half of what i wanted (being solid on only one side) but you can still see bricks behind it.

I was thinking of somthing like a cloaking device.

for example:

A         BA           BB
__       |     __      |       __
|_|  <-|     |_|      | ->  |_|
          |       B       |        C

the -> indicate the normal direction

where A,B, and C are normal bricks and BA and BB are both one way occlusion bricks

sombody at point C is looking towards A
because both to look at brick C requires looking through both BA and BB brick A is visible

however a viewer located at brick C are looking towards brick B, but because it is between the occlusion "Toggles" brick C can be seen seemingly through brick B.

If a viewer were located at brick B the viewer would be able to see ALL the bricks (A, B, And C)

A viewer located at brick A would see the same thing as a viewer located at brick C

the one way is what you are describing(sorta).
blocking veiws of bricks, but not the skybox/terrean/etc is impossible, but completly blocking the view is.

I have seen this happen in Blockland as a glitch, so it is possible.
Doing it on purpose may be another matter.
It should be relativly easy to do once shaders come out.
It could also be done in the source code.
I do know for a fact with current script methods/vars/etc it cannot be done.

just getting ideas ready for V21  :nes:

this would be so awesome, now we can have true klingon ships :cookieMonster:

Ive accidentally made something like this once with an item. When I spawned it on a brick, the textures were broken and could let me see the skybox detail through the builds/map.

Only thing is, it was an item and I don't know what happened.

Ive accidentally made something like this once with an item. When I spawned it on a brick, the textures were broken and could let me see the skybox detail through the builds/map.

Only thing is, it was an item and I don't know what happened.

This happens if an object has no texture or has a visible node with no opacity. What happens is that everything except for bricks are rendered when observing through it.

i know one way this can work!

if youve ever done events that unhide all your player nodes, and set it to a transparent color, you can see the skybox through it, even through bricks :D

i know one way this can work!

if youve ever done events that unhide all your player nodes, and set it to a transparent color, you can see the skybox through it, even through bricks :D
Yeah! That's it. Going to write a little script.

you're right, i've had this issue with players before...now how to apply it to bricks?...

the issue is anything behind the object will be invisible too even though it shouldn't be
it would be a blob of skybox instead of nothing

i think this requires an engine alteration, i does

or perhaps
/dramatic pause



SHADERS

edit: well, it will allow us to see what is on the other side rather than the skybox anyway
« Last Edit: June 08, 2012, 08:18:18 PM by zmaster »

i think this requires an engine alteration, i does

well you're wrong