Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: throwaway4 on December 15, 2006, 04:52:01 pm

Title: Super Reflective ships
Post by: throwaway4 on December 15, 2006, 04:52:01 pm
Does anybody know why certain ships would be 100% reflective?  I've got a problem where my Medusa, Triton and my HTL Luci models are 100% reflective.  It's like it's made out of glass, and you can see the starfield and everything.  It's only on those three ships.

The rest of my ships (HTL or no) look fine, and the reflective bits are only on the cockpits or glass or whatever.  Little help?  Thanks!
Title: Re: Super Reflective ships
Post by: ARSPR on December 15, 2006, 05:05:17 pm
Does anybody know why certain ships would be 100% reflective?  I've got a problem where my Medusa, Triton and my HTL Luci models are 100% reflective.  It's like it's made out of glass, and you can see the starfield and everything.  It's only on those three ships.

The rest of my ships (HTL or no) look fine, and the reflective bits are only on the cockpits or glass or whatever.  Little help?  Thanks!

It's because of env mapping (-env) using alpha channel (-alpha_env). This is a "new" feature that uses the alpha channel of -shine maps to set their reflectiveness. This channel was previously unused. Some models have shine textures with a full white alpha channel so they behave as mirrors. Solutions:

+ Disable -alpha_env. Then all the textures use a hardcoded and fixed amount of reflectiveness.
+ Enjoy it.
+ Wait till next Media_vp release.
+ Help DaBrain with all ships retexturing for the next Media_vp release :D  ;7
Title: Re: Super Reflective ships
Post by: throwaway4 on December 15, 2006, 05:19:31 pm
Thanks for the swift reply!
Title: Re: Super Reflective ships
Post by: Getter Robo G on December 15, 2006, 08:40:46 pm
hehe yeah when it was first implemented I loaded a test model and was blinded by a prismatic display. Turning it off solved that little joy.

  Before I was told about -env I was like (WTF is up with my graphic card or model textures).  :lol: