Jump to content
The Dark Mod Forums

Request: Better lava


Bikerdude

Recommended Posts

Evening

 

Im looking for a better version of lava than we currently have, atm it just move like a river and have a nice coloured smoke effect. But I would like staick lava with bubbling/erupting effects iff possble. I've spent the evening looking online for fan made D3 maps with the relevent texture/s and particle to no avail and only found one link from that prolific IDT4 artist, Kat from kats bits -

 

- http://www.katsbits.com/download/textures/kats-lumpy-lava.php

 

So can anyone direct me to some links with maps etc or a tut on how to create better lava.

 

many thanks.

Link to comment
Share on other sites

This is a similar request as for making better water. It's simply artist intensive.

 

You need:

 

1) A diffuse texture for non-glow portions

2) Specular for shine

3) Bump

4) An "emmisive" texture (blend add) for the glow

 

Example from Doom 3 (does not have diffuse):

 


textures/hell/lava21hell_hub
{
  qer_editorimage      textures/hell/lava1movenoshadow.tga
   noSelfShadow
      noshadows


  {
     blend       bumpmap
     map          textures/hell/hhlava_local.tga
     translate   time * 0 , time * -0.02
     scale .35, .35
  }
  {
     blend       specularmap
     map      textures/hell/hhlava_s.tga
     translate   time * 0 , time * -0.02
     scale .35, .35
  }   
  {

     blend add
     map textures/hell/hhlava_fx.tga
     //rgb      fireballtable[ time * .5 ]
     translate   time * 0 , time * -0.02
     scale .35, .35
  }



}

 

The problem is, making all this look good takes a pretty crack animator and modeler in Blender or someone

very clever at taking video sources (frames) and turning them into textures, normal maps, etc.

 

Rich_is_Bored actually did something similar for the former when we were discussing water...

 

After sitting on this awhile, you could basically:

 

1) Find a decent video for a top down view of some lava

2) Capture frames from the video and save them as images

3) Use your favorite bump tool to extract a normal map from each image

4) separate out the glowing portion and make your emissive textures with those

 

Then take this whole mess and use either make long "filmstrip" textures you can scroll to animate

or make individual frames and use a table and timer to flip each frame...

 

Phew...

 

One even easier way would be to use the video itself (converted to roq) as a texture using videomap:

 



video/example_lava
{
  translucent
  {
      videoMap loop "video/lava_video.roq"
      linear
  }
}

 

The downside will be that the lava won't have depth unless you have a normal map (or animated normal map).

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

You can do some pretty amazing things with shaders now days.

 

http://www.youtube.com/watch?v=QCYM_h3OEno

 

But since TDM isn't up to that you'll have to fake it as best as you can.

 

A model with intentionally distorted UV coordinates and some subtle texture scrolling/oscillation could work. Vertex colors or blending might help too. But Id Tech 4 is a fickle bitch that refuses to do what she's told. She doesn't like image sequences or ROQ movies being fed in as normal maps.

Link to comment
Share on other sites

I would use the heathaze.vfp shader program. It is used for creating distortion (like with hot air). I think some of the glass shaders uses this. Using ambient lights of different reddish color on top of the lava may also provide improvement.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

I used heathaze, and also didn't just put the existing lava texture on a flat surface, but a couple curved, so at least it appears to be coming up from a spot and "flowing" outward. A crackling sound and red lights completed the effect.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

It works like the TDM enhanced ambient thingie, but the program name is heathaze.vfp IIRC.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

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

    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 4 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 2 replies
    • 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
×
×
  • Create New...