junior Posted May 21, 2002 Share Posted May 21, 2002 I'm trying to create some shaders using shaderED2 and keep getting "Error 12 ... unexpected token line 1" what's the prob? Does any body know where I can get some info on creating shaders from jpgs or a tutorial? Thanks out there!!! Link to comment Share on other sites More sharing options...
Xcom Posted May 21, 2002 Share Posted May 21, 2002 What shader file are you trying to edit or are you making a new file? TIP: always make new shader files for your custom maps, don't add to or modify the existing ones. Anyway, this error happens when ShaderED encounters a character which it cannot understand or in some cases when {} are missing. Pretty obvious, huh? In your case it's line 1, so practically in the very beginning. You can open the file in Notepad and see if you find any weird signs there in the first line. (or you can post the code here if it's not to big) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.