Description

Grass map heights all appear to be 0 when generating grass on a Mac running 10.10. This bug does not occur on Macs running OSX 10.9.5

Putting a breakpoint in LandscapeGrass.cpp line 476 you can see that while weight data is returned in the B channel, the height data in R and G are always 0.

Editing LandscapeGrassWeight.usf and hardcoding the height values in the pixel shader makes it back to cpp. Hardcoding Output.Height value in the vertex shader before it's interpolated to the pixel shader does not work, so the values are not being interpolated for some reason.

Steps to Reproduce

1. Open QAGame editor and load the map Developers\jack.porter\GrassRtoT\GrassSubsections.umap
2. run the console command grass.flushcache

On PC and 10.9.5, the grass is regenerated. On 10.10.3 it is generated below the landscape.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.8
Target Fix4.8
Fix Commit2548368
Release Commit2549532
CreatedMay 12, 2015
ResolvedMay 13, 2015
UpdatedApr 27, 2018
View Jira Issue