Skybox Shader HOM


(LaggingTom) #1

Bah, I swear, skies are always a pain. I get a HOM effect with the following shader. The props_skyportal is closest to the top left corner of my box, and is more than 2000 units away in all three dimentions. Here’s the shader:

textures/islands/islands_skybox
{
	qer_editorimage textures/islands/ocean.jpg

	surfaceParm noimpact 
	surfaceParm nolightmap 
	surfaceParm sky 
	surfaceParm nopicmip
	surfaceParm nomipmaps 
	surfaceParm nodlight

	q3map_sun 0.90 0.95 1.00 125 270 20
	q3map_skylight 50 3
	q3map_lightmapFilterRadius 0 8 

	skyparms textures/islands/env/ocean/ocean 512 -
}

The skybox images are in textures/islands/env/ocean and are named correctly.


(LaggingTom) #2

:bump:


(Icarion) #3

try adding “q3map_nofog” after ed.image


(LaggingTom) #4

Added, recompiled, failed

:disgust:


(MrLego) #5

Try compiling with a full vis

"BSP -meta, -vis, -light -fast -filter -samples"

Here are two posts that may shed some more light on this.

http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=7714

http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=7802

Good Luck