Texture Mapped Highmaps #7

Open
opened 2024-08-04 19:16:40 +00:00 by veclavtalica · 0 comments
Collaborator

Outcast-like: image

It's pretty simple to implement, you only need to project rays coming out of screen fragments in Bresenham's line algorithm.
For integration with OpenGL, we might read depth texture that comes after space pass, so that we know which fragments to writable for terrain. Then stream resulted texture to a screen quad to draw.

Outcast-like: ![image](/attachments/aeeff950-dd86-44d9-babe-98a2b7fa9307) It's pretty simple to implement, you only need to project rays coming out of screen fragments in Bresenham's line algorithm. For integration with OpenGL, we might read depth texture that comes after `space` pass, so that we know which fragments to writable for terrain. Then stream resulted texture to a screen quad to draw.
2.4 MiB
veclavtalica added the
feature
label 2024-08-04 19:16:40 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wanp/townengine#7
No description provided.