Page MenuHome

Volume with noise->density renders blank
Closed, DuplicatePublic


System Information
Operating system: macOS Mojave 10.14.3
Graphics card: NVIDIA GeForce GT 750M 2048 MB + Intel Iris Pro 1536 MB

Blender Version

Full version:

~/D/b/b/C/MacOS $ ./blender --version
Blender 2.80 (sub 45)
	build date: 2019-02-25
	build time: 02:35:21
	build commit date: 2019-02-24
	build commit time: 22:02
	build hash: 893fa598319e
	build platform: Darwin
	build type: Release
	build c flags:  -Wall -Werror=implicit-function-declaration -Werror=return-type -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wstrict-prototypes -Wmissing-prototypes -Wunused-parameter  -mmacosx-version-min=10.9 -Xclang -fopenmp -I/Users/gast/blender-buildbot/mac_x86_64_10_9_cmake/blender.git/../lib/darwin/openmp/include -std=gnu11   -msse -pipe -funsigned-char -msse2
	build c++ flags:  -Wall -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wno-overloaded-virtual -Wno-sign-compare -Wno-invalid-offsetof  -mmacosx-version-min=10.9 -ftemplate-depth=1024 -stdlib=libc++ -Xclang -fopenmp -I/Users/gast/blender-buildbot/mac_x86_64_10_9_cmake/blender.git/../lib/darwin/openmp/include -std=c++11   -msse -pipe -funsigned-char -msse2
	build link flags: -fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework ForceFeedback -liconv -Xlinker -unexported_symbols_list -Xlinker '/Users/gast/blender-buildbot/mac_x86_64_10_9_cmake/blender.git/source/creator/' -stdlib=libc++
	build system: CMake
~/D/b/b/C/MacOS $

Short description of error
When I tell a simple cube with volumetrics to take its density from a noise texture it just becomes all transparent.

Blender logs three of these to the console when attaching the noise texture:

GPUShader: linking error:
ERROR: Input of geometry shader 'var0g' not written by vertex shader

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  • Run blender and watch the console output
  • Load the attached .blend file
  • Notice how the GPUShader linking errors are logged to the console when the file loads.
  • Try disconnecting the noise texture from the material and notice how the cube now looks like fog
  • Try reconnecting the noise texture, notice that new error messages get logged and that the cube becomes transparent again

Expected results can be seen here:

Note that multiple comments to that tutorial says this is only broken on Mac. I can't say that for sure, but it is broken on *my* Mac.



Event Timeline

Another data point; if I switch to Cycles and render I get a foggy looking cube as expected.

If I render in Eevee I get nothing.

I'm on CPU rendering.

Can confirm its not working on a Mac. 2018 MacBook Pro with Vega 20 i7