The Imperial Palace
===================
Skybox by Justin Fisher 


This Skybox comes from "Gunmetal" by Mad Genius Software, and has been converted 
for Quake III Arena. Textures copyright 1998, Justin Fisher. 

You may include these textures with your levels, provided that they are credited to 
Justin Fisher (the textures, not the levels :). However, the textures may not be 
used in commercial products or for commercial purposes without permission You may 
distribute these textures as level building assets, but must include this file
(though the Q3A-specific material may be removed or replaced if not relevant)


ABOUT:
A wealthy, ultra high-tech and exotic planet of lush forests and luxury resorts. 
This was one of my favourite landscapes, hence its release despite my suspicion 
that few will ever use it. Scenery includes two moons, binary suns, forested hills, 
various exotic resorts, and a skyhook reaching into orbit.

Designed for a level where it would be seen from the horizon up, there is no detail 
below the horizon. Panels are 512x512, except for the bottom, which is 128x128.
I may also make a low-resolution version of this sky.


BUGS: 
Some minor visual imperfections have appeared in this sky during conversion, possibly resulting from compression artifacts, but they are barely noticeable (and I don't have the time to fix them).


TO USE: (for Quake III Arena)
For those familiar with this stuff, the textures are in the .pk3, and the shaders 
are in this file.
For those less familiar;

1)  Put the .pk3 file (this contains the skybox textures) in your Quake baseq3 
    directory.
2)  Create a textures/harlequin_sky directory off your baseq3 directory.
3)  Create a text file "harlequin_sky.shader" in this directory (unless you have 
    done so already for another of my skies, in which case you use the existing file).
4)  Cut and paste the shader scripts (below) into this file. (Note - it must be a 
    plain text file, not rich text or anything like that).
5)  Add "harlequin_sky.shader" to the "shaderlist.txt" in the baseq3/scripts 
    directory.

Now you have the Harlequin textures available in Q3Radient. Using them in your map 
should produce the sky correctly in Q3A.

To distribute your level with the sky, you can either distribute it with the .pk3 
file, or put the contents of the .pk3 into your map's .pk3 (a cleaner solution). If 
you don't know how to do this, well, go find out. :-)
Remember to use the naming conventions for your final .pk3 file (more on this at the 
bottom of this file).

You will see below that two shaders are included. Both show the same skybox, but 
one has the Surfacelight parameter removed (NO-GLOW). Skies have two lightsources - 
the direct rays of the sun, and indirect ambient light that fills in the 
shadows a bit. The ambient light is created by making the sky texture glow in 
addition to the sun. This gets the best results, but can take a very long time when 
compiling your maps. Hence, use the noglow texture for areas where the glow is not 
needed. You can also use noglow as a temporary texture while you work on the map, 
and switch to the normal one when finishing.


THE SHADER SCRIPTS:

//   ---cut here---

//   the Imperial Palace Sky
//   =======================

textures/harlequin_sky/jf-palace
{
	qer_editorimage textures/harlequin_sky/palace_qer1.tga
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_surfacelight 300
// note: Change the surfacelight value if you want more ambient light from the sky.
	q3map_sun 1 1 1 200 130 50
// note: Change the fourth value (200) if you want a brighter or dimmer sun
	skyparms textures/harlequin_sky/env/palace - -
}

//   the Imperial Palace Sky without Surfacelight (ie NO-GLOW)
//   =========================================================

textures/harlequin_sky/jf-palace_noglow
{
	qer_editorimage textures/harlequin_sky/palace_qer2.tga
	surfaceparm sky
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_sun 1 1 1 200 130 50
// note: Change the fourth value (200) if you want a brighter or dimmer sun
	skyparms textures/harlequin_sky/env/palace - -
}

//   ---stop cutting here---




Enjoy your new world.
 - Justin


E-mail: JAF60@student.canterbury.ac.nz
Homepage: http://www.geocities.com/soho/lofts/1121

Skyboxes: http://quake.stuff.gen.nz



   ---



Quake III Arena file naming convention:

If you plan on distributing other resources separately, we [id Software] strongly 
recommend the following naming conventions:

md3-xxx.pk3 User Model with original associated skin files and sound files
bot-xxx.pk3 User bot files. May contain additional model or skin and texture files
skin-xxx.pk3 User skin with associated skin and texture files
map-xxx.pk3 User created map(s) and supporting files (arena, texture, sound, music)
tex-xxx.pk3 User texture and shader files
snd-xxx.pk3 Sounds only
mus-xxx.pk3 Music only
pfb-xxx.pk3 Map prefabs

(special thanks to Rogue13 of http://www.polycount.com for this naming convention)
