TextureFetch shader node now works with glgl1.5
This commit is contained in:
parent
9226299a87
commit
485af7cf2a
jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Basic
@ -2,6 +2,7 @@ ShaderNodeDefinitions{
|
||||
ShaderNodeDefinition TextureFetch {
|
||||
Type: Fragment
|
||||
Shader GLSL100: Common/MatDefs/ShaderNodes/Basic/texture.frag
|
||||
Shader GLSL150: Common/MatDefs/ShaderNodes/Basic/texture15.frag
|
||||
Documentation{
|
||||
Fetches a color value in the given texture acording to given texture coordinates
|
||||
@input texture the texture to read
|
||||
|
@ -0,0 +1,3 @@
|
||||
void main(){
|
||||
outColor = texture(texture,texCoord);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user