Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Kobrar44 on March 05, 2014, 12:16:46 pm

Title: [BUG?]Why are you off, reflections?
Post by: Kobrar44 on March 05, 2014, 12:16:46 pm
Tested with trunk, no custom shaders etc. I'm attaching testcase. TESTCASE (https://www.mediafire.com/?s1rcbe6pcoi1o1q)

Now about the issue itself. Testcase contains two missions. First will show you two spheres with intensive environment reflections from engine-generated cubemap. What I see there is:
(http://oi57.tinypic.com/femk2x.jpg) (http://oi57.tinypic.com/femk2x.jpg)

Which means its kinda off! Faces seem to be in place, but it also seems some coordinates are flipped.

There is also a second mission, which is different in only that it uses extrenal cubemap for reflections. It leaves room for my own error, but it is something to look into.

(http://oi61.tinypic.com/dpv1c6.jpg) (http://oi61.tinypic.com/dpv1c6.jpg)

Now what is wrong here? Well, the skybox behind the player looks like this:
(http://oi59.tinypic.com/r042fq.jpg) (http://oi59.tinypic.com/r042fq.jpg)

Notice, how the reflection corresponds to skybox. Normally, if you reflect an image which looks like /, you will get a reflection looking like \. Here both the image and reflection are /. Again, this may or may not be my own fault. First issue is however 100% valid.
Title: Re: [BUG?]Why are you off, reflections?
Post by: Goober5000 on March 05, 2014, 02:13:32 pm
We are cracking down on posting bugs on the public SCP forum; all bugs belong on Mantis (http://scp.indiegames.us/mantis/).  Images can be attached there, or you prefer, you can link back to this thread.

See this post (http://www.hard-light.net/forums/index.php?topic=82688.msg1479351#msg1479351) if you need assistance creating Mantis tickets.