DX Shader

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

DX Shader // Archive: Tech Forum

1  |  

Post by Wigand // May 18, 2007, 6:39am

Wigand
Total Posts: 462
pic
How can I create a simple mirror shader?

I looked for one in the library but did not find.

Post by parva // May 18, 2007, 7:38am

parva
Total Posts: 822
pic
At the dx material library is a mirror shader made by noko.


There realtime don't use raytracing it isn't possible to achieve true reflections. The only way would be to fake it, with scripting or via cube mapping where a cubic environment map simulate the reflection. Currently tS don't support cube mapping.

Post by Wigand // May 18, 2007, 8:31am

Wigand
Total Posts: 462
pic
is it a fake Roman showed us?


http://forums1.caligari.com/truespace/showthread.php?t=893&page=2


or something other.

Post by parva // May 18, 2007, 8:38am

parva
Total Posts: 822
pic
No fake, it's render to texture.
Means you can use a camera and reflect this to a texture map. The problem is that currently just a camera object can be used as "recorder".
This makes it difficult to use for materials but indeed this would work if render to texture and cube maps could be combined.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn