Jump to content

[SOLVED] #version 440 compatibility


photo

Recommended Posts

Hi there,

 

I'm tying to make sure all my GLSL shader scripts are compatible with Opengl 4.4 but the Unigine preprocessor doesn't seem to recognise the following line of code:

 

 

#version 440 compatibility

 

 

Is this something I need to worry about?  My shader seems to be crashing my graphics driver.  Also, is there a way to force Unigine to compile to either GLSL or HLSL and log shader warnings some how?

 

Any help would be much appreciated.

 

 

 

Thanks,

Simon

Link to comment

Hi Simon,

 

OpenGL 4.4 support should be working in Unigine 2.0 alpha (2014-11-20). What version of engine are you currently using?

 

Also, you can generate HLSL shaders cache that present in *.mat files via fxc tool: https://developer.unigine.com/en/docs/1.0/code/shaders_cache

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Hi silent,

 

I'm using the unigine release from around April, 2013 (not sure of the exact version).

 

But even if it's not compatible it should show compile errors right?

 

Cheers,

Simon

Link to comment
×
×
  • Create New...