DerelictStudios Forums: How To : Reflective Surfaces - DerelictStudios Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To : Reflective Surfaces

#1 User is offline   flyby 

  • Grumpy Grandpa
  • Group: Volcano Officer
  • Posts: 5,051
  • Joined: 20-April 03
  • Mod Registrations:

Posted 27 November 2003 - 04:17 PM

After reading a request on how to make reflective surfaces, I decided to share some of the alchemy to turn bitmaps into quicksilver :D

A test sample of what you can achieve:
Posted Image

[shamless PR]
Blitz2 will include several superb "silver birds" that will display some of the graphic quality you've been missing in generals...
[/shameless PR] ;)

Now the way to do it :

A reflective surface is in fact a composite of 2 bitmaps: one bitmap with what you could call a "normal" texture and one that will serve as reflection.

You need to adjust the texture settings on 3 levels:
-Vertex Material
-Shader
-Textures

You start in the textures tab, by assigning your regular texture bitmap to the "stage 0 texture". For stage 1 you need a nice looking sky or environment bitmap. While still on stage1 set the pass hint to "environment map".

Then jump to Vertex Material and choose "WS environment" for stage 1 Mapping. It is by far the best looking.

Get to the Shader tab now and set the advanced option like in the picture.


STEP 1

Posted Image

STEP2

Posted Image

STEP3

Posted Image
In some cases you're better by setting Pri Gadient = Modulate
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users