2025-07-20 20:26 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004557Spring engineGeneralpublic2014-09-24 12:33
ReporterBeherith 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004557: Bug in vertex shader of mesh grass causes random flashes of geometry to appear every few seconds for a single frame.
DescriptionIf you have any mesh grass patches on screen, then random flashes of geometry will appear on screen every few seconds. These are the result of some accumulating rounding errors in line 52 of GrassVertProg.glsl (as of latest develop).

Steps To ReproduceStare at grass, might take up a few seconds to notice it, but once it is noticed, it cannot be unseen.

Impossible to screenshot, as it only distorts for a single frame.
Additional InformationSuggested fix (works):

GrassVertProg.glsl:52
from
return abs( fract( x + 0.5 ) * 2.0 - 1.0 );

to
return abs( fract( x + 0.5 ) * 1.99 - 1.0 );

nVidia 560ti, recent drivers, win7
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2014-09-24 00:47 Beherith New Issue
2014-09-24 12:33 jK Changeset attached => spring develop ba461e49
2014-09-24 12:33 jK Assigned To => jK
2014-09-24 12:33 jK Status new => resolved
2014-09-24 12:33 jK Resolution open => fixed
+Issue History