Reflective map surfaces.
Moderator: Moderators
Reflective map surfaces.
Is it possible to make maps have reflective surfaces?that way we can accuratly make ice and crystal worlds that reflect the sun light or something.
Maybe a map gadget that is cleverly built to not strain the system?
Maybe a map gadget that is cleverly built to not strain the system?
Re: Reflective map surfaces.
Oirignally this was a part of the SM3 format, as shown in the images of SM3 metalheck with the shiny metal textures.
Re: Reflective map surfaces.
So, tentatively possible but not yet implemented. I'd use it for certain maps I haven't released, simulating some form reflectivity in the raw texture is possible but difficult and never good without bloom.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Reflective map surfaces.
I think this would have the potential to increase the sexiness of Spring maps several fold; though I also suspect that if it is on/offable most hardcore players would turn it off.
I'd love to see it used on snow/slate maps, etc. Simply having dappled specularity on surfaces will really make textures much more believable.
I'd love to see it used on snow/slate maps, etc. Simply having dappled specularity on surfaces will really make textures much more believable.
Re: Reflective map surfaces.
Waaaah! I lost three frames and thus a battle! Waaaaah!Warlord Zsinj wrote:I think this would have the potential to increase the sexiness of Spring maps several fold; though I also suspect that if it is on/offable most hardcore players would turn it off.
Yeah, most may.
Re: Reflective map surfaces.
jsut make maps in which it cant be turned off..
Re: Reflective map surfaces.
You wouldn't see it anyway unless you switch to one of the FPS cams. Yes this is why you can't tilt your cam in CNC3. So you can see these shinies all the time.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Reflective map surfaces.
I disagree, you'd be able to see it in top-down mode, especially if it's reflectiveness, not just specularity. You'd be able to see the reflection of the sky moving over icy/slate areas, etc.
Specularity would need tighter angles, though.
Specularity would need tighter angles, though.
Re: Reflective map surfaces.
Uh yeah, I was referring to specularity...
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Reflective map surfaces.
See topic title 

Re: Reflective map surfaces.
Light reflection 
What ever, good idea etc.

What ever, good idea etc.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Reflective map surfaces.
*sigh*






Re: Reflective map surfaces.
A specular overlay widget I wrote while testing the $heightmap texture:


- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Reflective map surfaces.
O_O!!!
*Little Oliver Voice* Please sir, may I have some more?
*Little Oliver Voice* Please sir, may I have some more?
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Re: Reflective map surfaces.
Nice.
How much actual control do you have with the specularity widget? Could you, for example, get it to read a greyscale file embedded in the map file?
Without control over the specularity, much of the advantages of this are lost - one of the most important elements of specularity is being able to set it as being different on different surfaces, as well as being able to break up the specularity with noise, so that certain surfaces don't reflect as a flat plane, but reflect with intentional noise, etc.
As cool as that shot is, you can already see what the problem of a generic specularity level does - it makes the ground feel like it's made up of plastic.
I must say that it does heaps for appreciation of depth of field when looking at a low eyeline.
How much actual control do you have with the specularity widget? Could you, for example, get it to read a greyscale file embedded in the map file?
Without control over the specularity, much of the advantages of this are lost - one of the most important elements of specularity is being able to set it as being different on different surfaces, as well as being able to break up the specularity with noise, so that certain surfaces don't reflect as a flat plane, but reflect with intentional noise, etc.
As cool as that shot is, you can already see what the problem of a generic specularity level does - it makes the ground feel like it's made up of plastic.
I must say that it does heaps for appreciation of depth of field when looking at a low eyeline.
Re: Reflective map surfaces.
Using the $heightmap texture (a 32-bit float texture), to generate
the heights and normals across the entire map isn't a great way to
go about it. The $heightmap texture is intended more for situations
like the volcano widget where you need to read the height where
particles might be hitting (or for the occasional ground decal).
All that being said, it's slow (approx 20 fps without shadows or
water on my nvidia 7900). It would be much faster to use VBOs
and not have to do the vertex texture fetches (especially the extra
fetches required to generate normals).
P.S. for parallax / relief shaders, I usually do use an RGBS texture
so that you can specify the specular factor using a texture.
example: http://trepan.bzflag.bz/spring/jpg/relief.jpg
the heights and normals across the entire map isn't a great way to
go about it. The $heightmap texture is intended more for situations
like the volcano widget where you need to read the height where
particles might be hitting (or for the occasional ground decal).
All that being said, it's slow (approx 20 fps without shadows or
water on my nvidia 7900). It would be much faster to use VBOs
and not have to do the vertex texture fetches (especially the extra
fetches required to generate normals).
P.S. for parallax / relief shaders, I usually do use an RGBS texture
so that you can specify the specular factor using a texture.
example: http://trepan.bzflag.bz/spring/jpg/relief.jpg
Re: Reflective map surfaces.
Would that also function for reflectivity?
Re: Reflective map surfaces.
You'd have to adjust the shader. You'll need masks for both effects as WZ mentioned. They're similar to the metal map, except that you can combine them into one image and use the third component for something else (like glow or what ever).
Re: Reflective map surfaces.
Omfg Omfg!!!!i want this for my snow/ice map...Where how ..how do i add this to my map???ah wait its slow...
So anyone might want to take it and fix it?
So anyone might want to take it and fix it?