Announcement
Collapse
Discord link fixed!
FYI for anyone who was having trouble using https://discord.quakeone.com that link is now fixed!
See more
See less
"DP New-Lava" Thread
Collapse
X
-
i think that lava must have an area with a hot-air-distortion shader, like in DOOM3... I remember some areas in D3 hell levels with that air-distortion, and also some broken pipes with this effect... maybe DP can do it...
-
You can divide the initial texcoords by some number that works well for you to get the scaling up effect; start with maybe 2 and work from there. This can be done in the vertex shader to optimize things a little as texcoords are linearly interpolated.
Another option for dealing with the repetition might be to add a noise function somewhere. I'm speaking fairly theoretically now as I haven't tried it personally.
One final thing is that I saw some of the old GLQuake style bad-texture-joins in the hard hall in start.bsp.
Leave a comment:
-
Well. If you can somehow replace the texture with a 256x256 lava texture that has less repetition, it might look better. I'm not sure how to do that without changing either the map or the engine though.
Anyway, you're right, the stock lava texture sucks and is only 64x64, which is why it's often recommended to either scale that up during mapping already, or use a different texture.
Not your fault I guess.
Leave a comment:
-
Hello gb,
yes, I scaled them up in the screenshots already.
Thank you for your comment.
The pattern is (without shader usage) the classic way even more repeating.
Yes, I can scale them even more.
But in the end, it will still be a repeating pattern...
Thats the way a map is built i guess.
But, E1M7 and E3M6 have a HUGE lava pool.
All other maps (with smaller pools) will look not so "repeated".
Anyway, it is an improvement to classic external texture usage,
cause of bigger scale / lesser repeats.
Thank you for your comment.
I will probably scale the texture even bigger.
--------------
Another Update:
I found out how to move shaders up and down in z-direction (like a wave on the sea):
But then Quake shows its weaknesses:deformVertexes wave 500 sin 0 3 0 0.3
The textures are not always linked correctly, so the "wave" movement (in z-direction)
will be cut and a lack of texture is visible for a short time...
This is not repairable (due to bsp file itself). So I had to drop this idea.
SevenLast edited by Seven; 10-31-2010, 04:37 PM.
Leave a comment:
-
The black spots are too regular; they create a repeating pattern.
Scale the texture up?
Leave a comment:
-
Thanks for your comment JPL.
Creating a video is not that easy (compared to screenshot).
You have to make it, compress it, upload it; and in the end it only represents the path I walked.
Its much easier to simply download the 2MB .pk3, put it in your ID1 and start DP as usual.
Then you can take all the time you want to look at it in every level you want and have your high resolution,
not a cropped video resolution.
Fortunately DP gives you that opprtunity to quickly test something, when you have it as a pk3 file.
And another reason: I have no clue how to record a video and all that.
Kind Regards,
Seven
Leave a comment:
-
Looks awesome !
And if shots cannot render the effect: please record a video !!
Leave a comment:
-
"DP New-Lava" Thread
Thread has been moved to "Finished Works" subforum,
cause there is nothing more that can be done/added to the mod at the moment.
Always find the latest Update at the end of this post.
Hello,
jakub1 brought it on the table, and I wanted to follow his idea.
Now that we gained some experience from "DP Pretty Water" and "DP New teleport" and
learned a lot about shaders, its time to start working on this last moving thing in Quake
So I started this Work-In-Progress thread to be able to discuss it here.
Hopefully jakub1 will join the discussion and brings his experience with him
My ideas:
1.) Lava is not comparable with water. It is not transparent.
2.) Lava should glow. It is unbelievable hot and must therefore "shine".
3.) Lava should NOT move straight; most suitable with different speed/accelaration in curvy ways.
4.) It should have a big difference in height = use a huge normal to express the enclosed stones and magma.
With all these ideas I created a first interpretation for you to test.
(simply throw the pk3 in your ID1 folder as usual)
Best viewed in maps:
- E1M7
- E3M6
I added some screenies, which can absolutely not express the dynamic effect.
It must be seen in game (use above mentioned maps).
Please tell us your thoughts and additional ideas. We need your feedback.
Thank you very much.

UPDATE 20101208:
I implemented your different suggestions:
- slightly bigger texture scale
- around 50% slower lava movement
But the main reason why I released V0.2:
I found a way to use the lava shader with almost no FPS drop.
Due to the fact, that Lava is NOT transparent, I deactivated the variable "dpwater" inside the shader.
So now you have almost no FPS drop. The visual effect stays exactly the same.
UPDATE 20111031:
A shader modification was necessary due to usage of new Lava haze effect of the "small mod compilation". In previous V0.2 the "blendfunc" command prevented the nice visual haze effect.
Please download V0.3:
DOWNLOAD V0.3
Previous version V0.2:
Download V0.2
Best wishes,
SevenTags: None
Leave a comment: