Jump to content

Yue

Members
  • Posts

    2,291
  • Joined

  • Last visited

Blog Comments posted by Yue

  1. "In Leadwerks 4, render-to-texture was accomplished with the SetRenderTarget command, which allowed a camera to draw directly to a specified texture, while hiding the underlying framebuffer object (FBO). In the new engine we have a bit more explicit handling of this behavior. This is largely in part due to the use of Vulkan's bindless design, which greatly improves the context-binding design of OpenGL. The Leadwerks "Buffer" class was never documented or officially supported because the underlying OpenGL functionality made the system pretty messy, but the design of Vulkan simplifies this aspect of graphics."

     

     

    I have been left with this information that points me in the right direction to create a mini map. The Hud Elements store example shows the Buffer command, but I guess with the camera command you can create a mini map without any problem.

    The question Josh is can I apply a transparent texture to that rendering to make the mini map look round?

     

    SetRenderTarget 

  2. The issue of the terrain is obviously that the terrain does not cast shadows, so a high mountain with a sunset makes you see in the distance the floating shadows and not the shadow of that mountain. This is because I plan to cycle day or night. Although evidently it is possible to handle with only one on the head of the player (half day) and would imply that there were not alone night or day.


    On the rocks I am creating small stones, few polygons and on the relief you can put a bump map on the ground, and the result would be something like this.


    Translated with www.DeepL.com/Translator

    image.png.f52b45dc16dd387133e35adc08fcca79.png

     

    And shadows strange effects mountains.

    image.png.3e3b35f2c06902cd273bbc718daa7dc1.png

     

     

  3. Looking forward to the new name, I'm sure it'll be as big as everything you do. 

    Regarding the new approach, looking forward to seeing you at work, the world spins very fast and this technology changes very fast. In the end everything will always be beneficial for both you and the users.

×
×
  • Create New...