Notices

[Tutorial] REMOVING UGLY SHADOWS  Thread Tools Reply
Old 11-22-2009, 11:51 PM   #41
YM
LVL100 YM
 
YM's Avatar
 
YM is offline
Posts: 6,116
Thanks: 1,022
Thanked: 3,725

Default [Tutorial] REMOVING UGLY SHADOWS


Then you've done something wrong. Double and tripple check everything you did.

__________________
Online Portfolio
My Blog
Twitter
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Old 01-04-2010, 06:16 PM   #42
Undies
L1: Registered
 
Undies is offline
Posts: 43
Thanks: 10
Thanked: 9

Default [Tutorial] REMOVING UGLY SHADOWS


Quote:
Originally Posted by VelvetFistIronGlove View Post
I went through every tf2 model, and identified all (I believe) the models that use alpha textures that you'd want these rules for, so here's a complete custom lights-tf2.rad:

Code:
forcetextureshadow models/props_gameplay/security_fence_big01.mdl
forcetextureshadow models/props_gameplay/security_fence_big02.mdl
forcetextureshadow models/props_gameplay/security_fence512.mdl
forcetextureshadow models/props_gameplay/security_fence512_lower.mdl
forcetextureshadow models/props_gameplay/security_fence512_skybox.mdl
forcetextureshadow models/props_gameplay/security_fence256.mdl
forcetextureshadow models/props_gameplay/security_fence32.mdl
forcetextureshadow models/props_gameplay/security_fence64.mdl
forcetextureshadow models/props_gameplay/security_fence64_lower.mdl
forcetextureshadow models/props_gameplay/security_fence80.mdl
forcetextureshadow models/props_gameplay/security_fence_section01.mdl
forcetextureshadow models/props_gameplay/security_fence128.mdl
forcetextureshadow models/props_gameplay/security_fence128_lower.mdl
forcetextureshadow models/props_gameplay/security_fence256_gate01.mdl
forcetextureshadow models/props_gameplay/security_fence256_gate02.mdl
forcetextureshadow models/props_gameplay/security_fence256_lower.mdl
forcetextureshadow models/props_farm/haypile001.mdl
forcetextureshadow models/props_farm/tree001.mdl
forcetextureshadow models/props_farm/tree001_skybox.mdl
forcetextureshadow models/props_gameplay/door_grate001_bottom.mdl
forcetextureshadow models/props_gameplay/door_grate001_top.mdl
forcetextureshadow models/props_gameplay/door_grate002_bottom.mdl
forcetextureshadow models/props_gameplay/door_grate002_top.mdl
forcetextureshadow models/props_gameplay/door_grate003_bottom.mdl
forcetextureshadow models/props_gameplay/door_grate003_top.mdl
forcetextureshadow models/props_foliage/bramble001a.mdl 
forcetextureshadow models/props_foliage/bramble001a_skybox.mdl 
forcetextureshadow models/props_foliage/corn_plant01.mdl
forcetextureshadow models/props_foliage/shrub_01a.mdl
forcetextureshadow models/props_foliage/shrub_02a.mdl
forcetextureshadow models/props_foliage/shrub_03_card.mdl
forcetextureshadow models/props_foliage/shrub_03_card_skybox.mdl
forcetextureshadow models/props_foliage/shrub_03_cluster.mdl
forcetextureshadow models/props_foliage/shrub_03_cluster02.mdl
forcetextureshadow models/props_foliage/shrub_03_cluster_skybox.mdl
forcetextureshadow models/props_foliage/shrub_03a.mdl
forcetextureshadow models/props_foliage/shrub_03b.mdl
forcetextureshadow models/props_foliage/shrub_03c.mdl
forcetextureshadow models/props_foliage/shrub_04a.mdl
forcetextureshadow models/props_foliage/shrub_04b.mdl
forcetextureshadow models/props_foliage/tree01.mdl
forcetextureshadow models/props_foliage/tree02.mdl
forcetextureshadow models/props_foliage/tree_pine01.mdl
forcetextureshadow models/props_foliage/tree_pine01_4cluster.mdl
forcetextureshadow models/props_foliage/tree_pine01_8cluster.mdl
forcetextureshadow models/props_foliage/tree_pine01_8cluster.mdl
forcetextureshadow models/props_forest/shrub_03_cluster.mdl
forcetextureshadow models/props_forest/shrub_03b.mdl
forcetextureshadow models/props_forest/shrub_03c.mdl
If you come across any I've missed, let me know and I'll add them here.
Quote:
Originally Posted by An Icy Mouse View Post
Add these new ones for the recent update:
Code:
forcetextureshadow models/props_foliage/tree_pine_huge.mdl
forcetextureshadow models/props_foliage/tree_pine_small.mdl
forcetextureshadow models/props_foliage/tree_pine_extrasmall.mdl
Would appear that these are missing too:
Code:
forcetextureshadow models/props_foliage/grass_01.mdl
forcetextureshadow models/props_foliage/grass_02.mdl
forcetextureshadow models/props_foliage/grass_02_cluster01.mdl
forcetextureshadow models/props_foliage/grass_02_cluster02.mdl
forcetextureshadow models/props_foliage/grass_02_detailmodel.mdl
 
Reply With Quote
Old 04-30-2010, 05:24 PM   #43
sniprpenguin
L4: Senior Member
 
sniprpenguin's Avatar
 
sniprpenguin is offline
Posts: 263
Thanks: 897
Thanked: 124

Default [Tutorial] REMOVING UGLY SHADOWS


I just have a quick question pertaining to this.

I would like to do the nice prop-lighting compile with all the parameters stated in the tutorial EXCEPT for the lights_youme.rad. Would the following work?

Code:
-lights -both -staticproppolys -staticproplighting -textureshadows -final -game $gamedir $path\$file
Or is the lights parameter not necessary? I noticed that it needed to go before light_youme.rad but it's not included in the regular light compile.

__________________
ctf_metalwood || cp_bee_cave

 
Reply With Quote
Old 04-30-2010, 05:44 PM   #44
YM
LVL100 YM
 
YM's Avatar
 
YM is offline
Posts: 6,116
Thanks: 1,022
Thanked: 3,725

Default [Tutorial] REMOVING UGLY SHADOWS


-lights is not needed unless followed by the lights rad file.

I must ask though why you'd want to run -textureshadows without anything to tell the engine which props have texture shadows?

__________________
Online Portfolio
My Blog
Twitter
 
Reply With Quote
The Following User Says Thank You to YM For This Useful Post:
Old 04-30-2010, 07:47 PM   #45
sniprpenguin
L4: Senior Member
 
sniprpenguin's Avatar
 
sniprpenguin is offline
Posts: 263
Thanks: 897
Thanked: 124

Default [Tutorial] REMOVING UGLY SHADOWS


Quote:
Originally Posted by YM View Post
-lights is not needed unless followed by the lights rad file.

I must ask though why you'd want to run -textureshadows without anything to tell the engine which props have texture shadows?
I was originally going to try and get a nice lightmap without going through too much additional work, but since that textureshadows works off of the light_youme you created, I'll try it instead.

Basically, I wanted to do less work.

__________________
ctf_metalwood || cp_bee_cave

 
Reply With Quote
Old 09-19-2010, 01:37 AM   #46
stevethepocket
(heaven forbid) ponies
 
stevethepocket's Avatar
 
stevethepocket is offline
Posts: 1,999
Thanks: 170
Thanked: 755

Default [Tutorial] REMOVING UGLY SHADOWS


Bumping to let you all know that I added this information to the Dev Wiki here. Let me know if I got something wrong, since I paraphrased as liberally as I could.

__________________
Current projects: Fort Frolic (BioShock-themed Arena map) | Turbine remake
 
Reply With Quote
Old 12-02-2010, 01:17 PM   #47
YM
LVL100 YM
 
YM's Avatar
 
YM is offline
Posts: 6,116
Thanks: 1,022
Thanked: 3,725

Default [Tutorial] REMOVING UGLY SHADOWS


Rewritten this at nodraw.net - http://www.nodraw.net/2010/12/lighting-compile-options/

with some minor extras - http://www.subtleallusion.com/blog/?p=36

__________________
Online Portfolio
My Blog
Twitter
 
Reply With Quote
Old 12-02-2010, 01:34 PM   #48
honeymustard
Veteran Member
 
honeymustard's Avatar
 
honeymustard is offline
Posts: 667
Thanks: 79
Thanked: 270

Default [Tutorial] REMOVING UGLY SHADOWS


One thing that should be mentioned somewhere is that the current lights.rad in the GCF is up to date these days. So you shouldn't need to create your own .rad file (unless you're using custom props).
 
Reply With Quote
Old 12-02-2010, 01:44 PM   #49
yyler
Guest
 

Posts: n/a

Default [Tutorial] REMOVING UGLY SHADOWS


Nice to see nodraw.net in my RSS feed again.
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply  

Tags
compile, prop_static, shadows, tutorial, vrad

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 08:49 AM.