Jump to content

LE 2 :: How to get the reflections of trees on water plane ?


Juggernaut
 Share

Recommended Posts

Hello,

 

After adding trees over the terrain surface and a water plane I tried to get reflections of trees that are near the edge of the water plane or are planted half-submerged in the water plane by going to ( In the editor )

 

Tools => Options => Configuration

 

and then setting the value of Reflection to : "Everything"

 

But unfortunately the reflection of trees ( the leaves and the branches ) fail to show up on the water plane

surface.

 

Ironically the same steps worked for me when I was testing the engine using Leadwerks 2.5 trial version

before purchase !

 

So what am I missing here ? What is the correct procedure to get reflections of any object whether static or animated ( barrels, trees, houses, animated character - people etc. ) on the surface of the water plane ?

 

Thanks,

Link to comment
Share on other sites

On a second note : The reflection appears to work with anything added as objects from within the editor except for the ones that were

added through the vegetation system ! Will this get fixed ?

Link to comment
Share on other sites

SetReflectionElements(ENTITY_RENDERABLE);

 

Is this what you mean?

 

Yes and no. "Yes" - because that function enables reflection of everything on the water plane surface while working through the code editor. "No" - I was asking for a solution to achieve the same effect while working in the world editor without using any code. Will have

to check though whether that function SetReflectionElements(ENTITY_RENDERABLE); works for objects that were added to the world using the "vegetation system" available in the terrain editor section of the world editor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...