Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

ShaderMaterial is broken in 3.0

$
0
0

After wrestling countless hours with a problem (as you do) I came to the conclusion that ShaderMaterial is broken in 3.0. More accurately, I can't get texture lookups to work in vertex shader. But they do work in Babylon 2.5

Add this line in any vertex shader and it wont compile:

vec4 test = texture2D(textureSampler, uv);

 


Viewing all articles
Browse latest Browse all 760

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>