Opened 7 years ago

Closed 6 years ago

#964 closed defect (no change required)

edge extension suffers tearing with cliffs

Reported by: Bluestone Owned by:
Priority: major Milestone:
Component: BA trunk Version:
Keywords: Cc:

Description (last modified by Bluestone)

edge extension widget was removed

Attachments (2)

screen00576.png (2.0 MB ) - added by Bluestone 7 years ago.
screen00000.png (1.4 MB ) - added by beherith 7 years ago.
Are the circled things the ones in question?

Change History (6)

by Bluestone, 7 years ago

Attachment: screen00576.png added

comment:1 by beherith, 7 years ago

Are you talking about the small, exactly elmo sized empty holes? If so, that is an artifact of mapconv, to be honest.

SMF has DTX1 as its diffuse texture compression, there was a bug in nvdxt used by early mapconv that inserted noise (!!!!) into the 1-bit alpha channel of the generated .dds surfaces. This alpha noise was then carried into the smf by mapconv. There is explicit support in the engine to render this transparency, but it is only enabled on voidground or voidwater or whatever.

So the shader that draws the edge extension should ignore alpha.

Solution: link me to the widget in question, and ill look over the shader code for it.

comment:2 by beherith, 7 years ago

So after looking over the code, it uses $grass texture, which is just a sampled down, stitched version of the SMT texture. My crappy laptop gpu doesnt show the holes I seem to see on your pic. I circled stuff on this image to make sure we are talking about the same thing.

Also, the fragment shader seems to be removed from the widget, which makes rendering fall back to the fixed-function pipeline.

Last edited 7 years ago by beherith (previous) (diff)

by beherith, 7 years ago

Attachment: screen00000.png added

Are the circled things the ones in question?

comment:3 by Bluestone, 7 years ago

Yes, those are the things I meant. I guess you tried the same map as me? (Avalanche)

comment:4 by Bluestone, 6 years ago

Description: modified (diff)
Resolution: no change required
Status: newclosed
Note: See TracTickets for help on using tickets.