Skip to main content
gamedev.net
🔒 Locked

Reflection

Started by immuner Jul 12, 2006 at 1:05 AM 1 replies 1.2k views
Original Post
immuner
immuner
Ok, i am trying to get some reflections in my app but im dealing with a weird problem. I need to get rid off the reflection when the camera goes below (or right...whatever) the floor - wall..... it just stays there....i even almost copied the dino tutorial from opengl.org to check it line by line and it still doesnt work. Plus transparency only works if i do GL_SRC_ALPHA, GL_ONE. In every other tutorial ive seen it works also with GL_SRC_ALPHA, GL_ONE_SRC_MINUS_ALPHA while in my case the object stays opaque. Any ideas or classic possible errors that i am probably doing?
Keyboard not found. Press F1 to Continue.
JonnyQuest
JonnyQuest
Could you clarify the problem? Post a screenshot, say?

~phil
~phil
immuner
immuner
never mind i fixed it. it seems i had stencil buffer disabled. but i decided not to use reflections since i have two small side walls but i can see whats on the right or left of them from any point in space :( and i dont think there's any way of fixing that.

thank you anyways
Keyboard not found. Press F1 to Continue.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.