Talk:HDR Lighting Basics

From Valve Developer Community
Jump to: navigation, search

Should there be some mention of the apparent requirement for HDR support in the game itself - I couldn't get my newly HDR'ed test map to work properly in Half-Life 2, but it ran gloriously in Lost Coast. Which games fully support HDR, and is it ever going to be added to HL2 itself? (It's an amazing feature, and I'd love it to appear in MINERVA!) --Cargo Cult (info, talk) 02:14, 23 Nov 2005 (PST)

HDR is supported by Lost Coast and DoD: Source --King2500 06:40, 23 Nov 2005 (PST)

Hi, I am having trouble getting some textures to reflect the HDR skybox while playing my map in HDR or LDR. My map has been compiled using your newly released SDK Beta and VRAD has been run for HDR and LDR. When I run "Buildcubemaps" in game under HDR and then LDR, I get a few textures that reflect the HDR sky box in rainbow like colours (some are reflective textures on walls others are glass and water textures) it doesn't matter which mode my graphics are set to, either HDR or LDR. Note: I have a Graphics card capable of pixel shader 2.0 and not 3.0. Would this make a difference. Is this a know issue and will it be fixed, Or do I have to make sure that all reflective textures I pick are special HDR ones ? Please help... TOPGUNMAV 00:15am AEST 25NOV2005

Shouldn't this article have some information of how to actually light areas with HDR in the engine? I mean, what does '1 1 -1' or whatever mean in the light entity? Calling the article 'lighting basics' seems pretty weak if it doesn't even explain that! (Or link to a place where it DOES explain it.) I don't know how to use HDR yet so I can't do anything to the article. Unsigned comment added by Merkaba48 (talkcontribs). Please use four tildes (~~~~) to sign your username.

shadercompile.exe errors

i just got the December DXSDK and am having a problem compiling the shaders (my simple one as well as the standard dx8 and dx9 ones shipped with Source). I get:

common_fxc.h(156,36): error X3000: syntax error: unexpected token ‘linear’

anyone seen this before? it seems to be generated from shadercompile.exe. this is preventing my *.vcs from being created. Reacher 09:43, 20 Jan 2007 (PST)

you have to edit your common_fxc.h file, theres like 2-3 functions that use a parameter called "linear". Just change it to some other word and you'll be set. The December SDK made this word unusable. --One3yed 23:47, 21 Jan 2007 (PST)

HDR with normal skybox

Do you need to use a HDR skybox to have HDR lighting in your map, if you only see it through windows you can't go through, and have a 3d skybox? --JeffMOD 16:26, 22 May 2008 (PDT)

A skybox with HDR turned on will be effected by the HDR values, so it doesn't really matter if you use an HDR sky, or an old sky, theres really no difference.--Gear 17:12, 22 May 2008 (PDT)
Thanks! Im new to mapping with hammer, so Im glad you guys take the time to help me. :) --JeffMOD 04:49, 23 May 2008 (PDT)