소스 검색

fixed billboard shader bug on android where int is used instead of float

Patrick Werner 6 년 전
부모
커밋
c7f6aa9ae6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/Billboard.j3sn

+ 1 - 1
jme3-core/src/main/resources/Common/MatDefs/ShaderNodes/Common/Billboard.j3sn

@@ -24,7 +24,7 @@ ShaderNodeDefinitions{
             mat4 worldViewMatrix
             mat4 projectionMatrix
             vec3 modelPosition
-            float scale 1
+            float scale 1.0
         }
         Output {
             //all the node outputs