Colour, Plantlight, rendermodes & cubemaps.

Need Help? The Day isnt going so well on the Mapping front?
Post Reply
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Colour, Plantlight, rendermodes & cubemaps.

Post by fug4life »

Image

After building cubemaps I have a cylinder piece of glass (func_detail)that is reacting to the green( I change render mode, color) plant light (npc) after building cubemaps.

Any ideas which might be the real problem?
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

Could make a env_cubemap somewhat offset from the glass and assign the faces to it.
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

Oooh, Breens own little morgue.
DaMaN
npc_combinegunship
npc_combinegunship
Posts: 782
Joined: Tue Nov 07, 2006 12:03 am
Location: Parent's Basement
Contact:

Post by DaMaN »

skidz wrote:Could make a env_cubemap somewhat offset from the glass and assign the faces to it.
That's what I was going to suggest... if that doesn't work I'm not sure what else you could do...

Possibly try re-making the brush? Sometimes they can get gibbled.

Check compile log? etc.
Current projects: Return to City 17 and Rising Dead
Also, check out my Blag: http://daman-amappersworld.blogspot.com/
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Thnx for help guys, assigning a face din't really help although I know it normally fixes alot of these related issues, at the moment I've deleted a few cubemaps here and there, seems to have solved it. now to strategically place one or two cubemaps back in!
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Aghh!

After I dont know how many compiles and changes, I've decided that my metal textures are reflecting? Or I really am awful at placing cunemaps,
I'm compiling this map in 1.3 but I'm not sure if my mapping crapness to blame here.

Image

The pic is in a vis leaf under the level, where I did have water but on this particular compile I removed the water, hence why it is so dark. but what is strange is that the red and blue and greens are from upstairs bright decals and lights that are well reflecting downstairs aswell.

Do you think this article is along the lines of fixing this ( particulay the bottom paragraphs), becuase the map really reflects in both ldr and hdr, but worse in hdr

http://developer.valvesoftware.com/wiki ... _Materials
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Tono-Tako
npc_combinegunship
npc_combinegunship
Posts: 785
Joined: Tue May 30, 2006 10:28 pm
Location: Half-LIfe series Fan

Post by Tono-Tako »

textures-> blocklight
Image
Vote for obsidian conflict in moddb
One click a day doesnt hurt your finger
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

I feel like alice in wonder land at the moment,...

http://developer.valvesoftware.com/wiki ... ing_Basics

http://developer.valvesoftware.com/wiki ... g_Settings

http://developer.valvesoftware.com/wiki/Advanced_HDR

Are all interesting reads...

Dunno why my pic was there was meant to be another article
Last edited by fug4life on Thu Sep 27, 2007 9:06 am, edited 1 time in total.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Power-Mad
Combine Rebel
Combine Rebel
Posts: 1219
Joined: Tue Jun 13, 2006 7:24 am
Location: Minnesota

Post by Power-Mad »

Turn off the sprites before building cubemaps, you don't even need a map function to do it, give it a name in hammer and ent_fire it.
Image
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Thnx, I'll give that a try, although I think, I have to do some other things aswell, because I have glowing decals, also one of my other maps is behaving the same, and I think it's cause it's a non hdr skybox, the above map dosent have a sky box.

Image

I think first I'll try for both maps, like you said turning off all sprites and also I think changing the VMT of my bright deacls, also maybe the skybox aswell for one of the maps, then If still trouble, I'll play with the textures vmt's.

But thnx for advice, pointed me in the right direction, I dint really come across this in warmachine but I added the bright decals after and only had one sprite.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

Fingers crossed, I think I've solved the riddle of all the troubles I've been having everytime I use a space setting as a 3d_skybox.

The problem was the reflections of anything bright on the skybox texture, i.e a bright blue planet, would follow your view around.

I had long forgotten that it's possible to add an env_cubemap into the skybox!

Fingers crossed.

This will benefit me in two maps :)

I think of all the compiles I wasted trying to figure this one out, It was a lot!
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

The glass on the left is stadium's and the right is hl2's defualt.

[img][img]http://img107.imageshack.us/img107/4730/ocarchives109glasstest0vs1.jpg[/img][/img]


Stadium's vmt:

Code: Select all

"LightmappedGeneric"
{

	"$basetexture" "maps/stadium/stadiumglass"
	"$surfaceprop" "glass"
	"$additive" "1"
}
The defualt hl2's vmt:

Code: Select all

"LightmappedGeneric"
{
	// Original shader: WorldAdditiveTransEnvMapWithMaskedTexture
	"$basetexture" "Glass/glasswindow070c"
	"$envmap" "env_cubemap"
	"$surfaceprop" "glass"
	"%keywords" "c17industrial"
	"$envmapmask" "glass/glasswindow070c_mask"
	"$envmaptint" "[.3 .5 .6]"
	"$additive" "1"
//	"$translucent" 1
}
Ok, The stadium glass is nice and simple and it really helps out in my 'Constant Battle with Reflections'. And is just what I should of used from the word go. Although it's slightly greener and less colourful than the hl2 one. Is there anything I can do to the hl2's vmt to get rid of the reflections but keep some of the light blue colour?

I just got used to the hl2 one and on long or big brushes the colour stands out better, I just dont want the reflections it gives.

I know it may seem minor given the texturing may still look odd :)

Edit:ops, hope your browser is gear up for a high resolution.

Also the hl2 material, has two vtf's one is the mask? :?

http://developer.valvesoftware.com/wiki ... al_Proxies :coffee:
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

try changing the tint to
.03 .05 .06
Post Reply