Urban Terror Forums: about shaders - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

about shaders Rate Topic: -----

Some doubts about shaders' usage.

#31 User is offline   IceMan Icon

  • Account: iceman
  • Main tag: bw|
  • Country:
  • Joined: 08-November 10
  • Posts: 63

Posted 25 February 2011 - 11:27 AM

as you can see here
http://img695.images...i/38733150.jpg/
lights work!

but the sun doesnt :(

here the shader with the new parameters


textures/oriental/sky
{
	qer_editorimage textures/oriental/sky_arc_masked.jpg
	
	q3map_sunExt 125 125 125 600 90 90 3 16
	
	q3map_lightRGB 0.9 0.96 1.0
	q3map_lightmapFilterRadius 0 64
	q3map_skyLight 100 3
	
	surfaceparm sky
	surfaceparm noimpact
	/* surfaceparm nolightmap */
	
	skyparms textures/oriental/env/sky 1024 -
	
	nopicmip
	nomipmaps
	/*
	{
		map textures/oriental/sky_clouds.jpg
		tcMod scale 3 3
		tcMod scroll 0.005 -0.0125
		rgbGen identityLighting
	}
	{
		map textures/oriental/sky_arc_masked.jpg
		blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
		tcMod transform 0.25 0 0 0.25 0.1075 0.1075
		rgbGen identityLighting
	}
	*/
}




#32 User is offline   Rayne Icon

  • Account: rayne
  • Joined: 28-February 10
  • Posts: 1,653

Posted 25 February 2011 - 12:35 PM

Go to algiers shaders, copy Algiers skybox shader and edit the settings.

#33 User is offline   mindriot Icon

Posted 25 February 2011 - 07:28 PM

Make sure you're doing this when you compile:

http://forums.urbant...933#entry283933

#34 User is offline   IceMan Icon

  • Account: iceman
  • Main tag: bw|
  • Country:
  • Joined: 08-November 10
  • Posts: 63

Posted 26 February 2011 - 02:29 PM

View Postmindriot, on 25 February 2011 - 07:28 PM, said:

Make sure you're doing this when you compile:

http://forums.urbant...933#entry283933


ohhh yes!! this was the problem :)
thanks!

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 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

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942