Hi,

________________________________
From: osg-users [osg-users-boun...@lists.openscenegraph.org] on behalf of Chris 
Hanson [xe...@alphapixel.com]
Sent: Monday, March 14, 2016 9:58 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Running OSG models on OpenGLES2.0

"The fragment language has no default precision qualifier for floating point 
types.  Hence for float, floating
point vector and matrix variable declarations, either the declaration must 
include a precision qualifier or
the default float precision must have been previously declared. Similarly, 
there is no default precision
qualifier for any of the image types,  or any of the following sampler types in 
any of the languages:"
So basically I always had the luck to have sloppy drivers :-) and one must 
indeed add the precision qualifiers or define the default precision.

  I think the NVidia drivers play sloppy. Others may be the same way.

Thanks for the input. Now it comes back to my original question. I've added 
precision qualifiers to compile shaders, but the models from 
OpenSceneGraph-Data still don't get rendered correctly (similar to the model 
that I have). I can run all of those fine on desktop with OpenGL. Maybe most of 
those are not OpenGLES2.0 compatible. I guess there's some incompatibility 
between pieces.

Thanks,
-hyun

Cheers
Sebastian.


--
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • 
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • 
Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel<https://twitter.com/alphapixel> 
facebook.com/alphapixel<http://facebook.com/alphapixel> (775) 623-PIXL [7495]


This email and any attachments are intended for the sole use of the named 
recipient(s) and contain(s) confidential information that may be proprietary, 
privileged or copyrighted under applicable law. If you are not the intended 
recipient, do not read, copy, or forward this email message or any attachments. 
Delete this email message and any attachments immediately.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to