Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Thorn on July 24, 2004, 11:28:11 pm

Title: Odd spec/glow problem.
Post by: Thorn on July 24, 2004, 11:28:11 pm
Its better if I just illustrate my problem than explaining it.
I'm using fs2_open_Bobboau_7-10-04, though I encounter this with  every version of FSO 3.6. Nothing other than Spec and/or Glow is enabled.

With Spec only enabled:
(http://www.3dap.com/hlp/hosted/tap/screens/inter-spec.jpg)

With Spec and Glow enabled.
(http://www.3dap.com/hlp/hosted/tap/screens/inter-spec-glow.jpg)

With Glow only enabled it's still very bright.

The shine and glow maps respectively:
(http://www.3dap.com/hlp/hosted/tap/screens/hgn_inter_a-shine.jpg)
(http://www.3dap.com/hlp/hosted/tap/screens/hgn_inter_a-glow.jpg)

Not having any problems with FS2 or any other mods, just the Homeworld ships. Its harder to notice on the larger ships though.
Title: Odd spec/glow problem.
Post by: kasperl on July 25, 2004, 09:09:38 am
OGL or D3D?

Are the textures TGA, JPG, or PCX?

Are you sure you didn't edit some LOD texture?
Title: Odd spec/glow problem.
Post by: Thorn on July 25, 2004, 09:16:30 am
D3D, PCX, and yes I'm sure.
Title: Odd spec/glow problem.
Post by: kasperl on July 25, 2004, 09:18:55 am
Sure they're 8 bit PCX's?
Title: Odd spec/glow problem.
Post by: Thorn on July 25, 2004, 09:21:47 am
Positive.
Title: Odd spec/glow problem.
Post by: karajorma on July 25, 2004, 09:49:29 am
What are your command line options? It could be just that the spec is too high (wouldn't notice that with the FS2 ships since they have proper spec maps).
Title: Odd spec/glow problem.
Post by: Thorn on July 25, 2004, 09:53:37 am
As I said, the only thing in the first image is -spec. Second is -spec and -glow.
It's the glow part thats giving me trouble. See that last image? Thats the glow map, the one before it is spec. It should not be that bright.
Title: Odd spec/glow problem.
Post by: Thorn on July 25, 2004, 09:47:36 pm
So yeah... textures dont seem to matter.. I completely redid the maps, different colours... same problem....
Title: Odd spec/glow problem.
Post by: Flaser on July 26, 2004, 03:51:26 am
For starters set the ambient_factor to a low value around 75 - that way you'll make sure it's the spec lighting you see.

That's my 2 cents.
Title: Odd spec/glow problem.
Post by: Bobboau on July 26, 2004, 04:13:26 am
try
-ambient_factor 85

that is realy weird, if that is realy what the textures are than there should be very little diference between the first and second image even if something was going screwy. the only thing I can think of is something wrong with the files, becase you said the other ships work normaly.
Title: Odd spec/glow problem.
Post by: WMCoolmon on July 26, 2004, 04:27:13 am
Could it have something to do with the Alpha?
Title: Odd spec/glow problem.
Post by: Thorn on July 26, 2004, 12:43:19 pm
No joy on the ambient_factor bit.
Title: Odd spec/glow problem.
Post by: Thorn on July 27, 2004, 06:44:30 pm
Alright. I have it pinned to just the fighters. Corvettes and larger aren't affected.
I used the ambient_factor 0 switch. The fighters are lit up like a Dutch brothel (both Scouts, Interceptor, Assault Craft, both Bombers, and the  Lance Fighter) while anything larger is normal.
Title: Odd spec/glow problem.
Post by: Bobboau on July 27, 2004, 08:14:01 pm
try saveing the textures as tga, just to get rid of the posability that it's the texture
Title: Odd spec/glow problem.
Post by: Thorn on July 27, 2004, 08:36:31 pm
Did that. In fact, I used a completely different texture, then when that didnt work I re-extracted the .dds file and made a new one from scratch.
Title: Odd spec/glow problem.
Post by: Scuddie on July 27, 2004, 09:07:00 pm
Try setting the spec_exp to something like 5, or the spec_point to 0.3, fool around with the spec lighting options, the glowmap may be creating a light source, and being interpeted as what it is at face value...  Two very large and bright glow lights.
Title: Odd spec/glow problem.
Post by: Thorn on July 27, 2004, 09:19:44 pm
No, when I turn on the glowmapping, its like the ambient light for Fighters gets cranked. I dont think toying with the spec will do much except screw up the look of the ships that actually work. The Ion Cannon frigate is gorgeous looking now that I have the spec tweaked just right.