Jump to content
The Dark Mod Forums

Fingernail! Need Some Help!


Renzatic

Recommended Posts

I've been trying to figure out the reason why my more special effect-laden textures refuse to show up in the editor or the game recently, I'm wondering if I'm doing the materials wrong or if something else on my comp is borked.

 

If you still have your transparent window could you send it to me? I know it works both in the editor and the game cuz of the screenshots, so if it doesn't work for me then I could probably rule out coding errors at least for the time being.

Link to comment
Share on other sites

Breathe in.

 

textures/Darkmod/Objects/Windows/windowpane/Windowpane
{
noSelfShadow
noshadows
twosided
translucent
glass
forceoverlays
//sort decal

qer_editorimage Textures/custom/Winyel1_d.tga
{
               Program           heatHazewithmaskandvertex.vfp
               vertexParm              0       time * 0 , time * 0 // texture scrolling
               vertexParm              1       .5        // magnitude of the distortion
               fragmentProgram 	 heatHazewithmaskandvertex.vfp
               fragmentMap             0       _currentRender
               fragmentMap             1       textures/sfx/vp1  
fragmentMap             2       textures/glass/4x4 	 
            
   }
{	
 maskcolor    
    map	makealpha(textures/glass/glass1)
}	
{
    blend gl_dst_alpha, gl_one
   maskalpha
         cubemap  env/gen2
        red  Parm0
        green   Parm1
        blue	Parm2
                 texgen  reflect
vertexcolor
}
{
       blend filter
map Textures/custom/Winyel1_d.tga
}
{
       blend diffusemap
map Textures/custom/alpha1.tga
alphatest .1
}


}

 

The bit with the actual fragment shader parsed is this line:

Program heatHazewithmaskandvertex.vfp

 

But try the whole thing. The rest is a mish-mash of trying to get the alpha transparency to work properly. It's probably more complicated than needs be.

Link to comment
Share on other sites

Just as long as you know it works. I still haven't figured out why my more complex stuff doesn't work...so far I haven't figured out jack. : \

 

If this doesn't work I'm gonna have to assume it's a problem with the editor and reinstall Doom 3...anyway, thanks for the helping hand. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...