.hdr files are now loaded in sRGB color space as there is no reason it should be loaded in linear space.
This commit is contained in:
		
							parent
							
								
									d57147e392
								
							
						
					
					
						commit
						ad4634ce04
					
				| @ -309,8 +309,7 @@ public class HDRLoader implements AssetLoader { | ||||
|         in.close(); | ||||
| 
 | ||||
|         dataStore.rewind();         | ||||
|         //TODO, HDR color space? considered linear here | ||||
|         return new Image(pixelFormat, width, height, dataStore, ColorSpace.Linear); | ||||
|         return new Image(pixelFormat, width, height, dataStore, ColorSpace.sRGB); | ||||
|     } | ||||
| 
 | ||||
|     public Object load(AssetInfo info) throws IOException { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user