Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LongJohn

no reflexion when light is on.

This topic is 5602 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, whenever i´m using scalef for reflexions it only works without light ! when i switch it on the "reflexion-surface" looks silver. any ideas why this coud happen ?

Share this post


Link to post
Share on other sites
Advertisement
Try glEnable(GL_NORMALIZE) as I''m guessing your normals are getting messed up by the scaling you are performing to accomplish the reflection.

Share this post


Link to post
Share on other sites
no,didn´t work.
it looks like the alpha-blending (is transparacy called like this ?) only works without turning on light..does this make any sence for you ?

Share this post


Link to post
Share on other sites
i´d love to if you tell me how !

here´s a description:

the scene,under it a red transparent floor,under it the mirrowed imagge.

from the side : looks like nothing under the floor.

rotating even more:i see the objects twice,clipping works.


LIGHT ON:exactly the same,but i cant´t see thru the floor.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!