LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   JA Mapping (http://www.lucasforums.com/forumdisplay.php?f=540)
-   -   ARrrg stupid fog! need help w custom fog. (http://www.lucasforums.com/showthread.php?t=164220)

SD_Radical_Ed 04-28-2006 08:16 PM

ARrrg stupid fog! need help w custom fog.
 
ok the shadre:

textures/Angel/cloudlayer2
{
surfaceparm nonsolid
surfaceparm nonopaque
surfaceparm trans
surfaceparm fog
q3map_nolightmap
{
map textures/skies/cloudlayer2
blendFunc GL_ONE GL_ONE
rgbGen identity
tcMod turb 0 1 0 0.1
tcMod rotate -7
}
{
map gfx/effects/alpha_smoke
blendFunc GL_ONE GL_ONE
tcMod rotate 10
tcMod turb 0 0.1 1 0.1
}
{
map textures/skies/cloudlayer4
blendFunc GL_ONE GL_ONE
rgbGen identity
tcMod turb 0.5 0.5 0.2 0.05
tcMod rotate 10
}

}


i made a brush at the bottom of my map and textured it with textures/Angel/cloudlayer2, but when i load the map, the brush is always solid.

MDN14 04-29-2006 09:20 PM

are you sure that in GTK Radiant that the texture in the texture selection area has white lines around the texture and if you shift click the texture it opens the shader for editing? Because if it doesnt then you shader is not being loaded properly in Radiant and so it wont compile as it should either. I find that the most common reason that it isnt loading in Radiant is because the shader didnt get added to a line in the shaders.txt file

SD_Radical_Ed 04-30-2006 02:46 AM

how do i fix that so that it loads properly?

{NJO}*Dark 04-30-2006 05:50 AM

open up the shaders.txt file (found in base/shaders/) and at the bottom add a line saying <yourshadername> (which looks like it will be Angel)

SD_Radical_Ed 04-30-2006 01:11 PM

mmm
not working...
what i have been doing is texturing things with the texture and adding the shader in the shaders folder to apply to that texture...

SD_Radical_Ed 04-30-2006 03:34 PM

ARRRG! ok, now its a nonsolid translucent box with the textures scrolling around it, but its not behaving like a volumetric fog. when i go inside the box, its empty, i.e., no foggy effect.

SD_Radical_Ed 04-30-2006 07:09 PM

ok i got it workin


All times are GMT -4. The time now is 12:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.