Русский New site

Advanced search

[ New messages · Forum rules · Members ]
Page 1 of 11
Forum » SpaceEngine » Mods and Addons » Problem with Shaders - Modding (I'm tryng to make Reflections in water)
Problem with Shaders - Modding
SalvoDate: Wednesday, 29.08.2012, 08:26 | Message # 1
Star Engineer
Group: Local Moderators
Italy
Messages: 1400
Status: Offline
My problem is that... i can't find the right material to make the water reflections, so SE give me this error biggrin


Attachments: 6286668.jpg(46Kb)





The universe is not required to be in perfect harmony with human ambition.

CPU: Intel Core i7 4770 GPU: ASUS Radeon R9 270 RAM: 8 GBs

(still don't know why everyone is doing this...)


Edited by Salvo - Wednesday, 29.08.2012, 08:34
 
XMINEIROCREEPEIROGENERALXDate: Wednesday, 29.08.2012, 14:39 | Message # 2
Space Tourist
Group: Banned
Portugal
Messages: 38
Status: Offline
Español LOL sí no eu sou también! The problem maybe the add-on its not recomended for your version, or SE can´tn read the add-on so, that hapens: tongue




OpenGL 3.0 is the best OpenGL for SE. Trust me. ;)
 
SpaceEngineerDate: Thursday, 30.08.2012, 11:00 | Message # 3
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4796
Status: Offline
Salvo, did you modify the shaders? You should really know that are you doing in shader code. Also, modifying the shaders is not a good idea, SE is not designed to it.




 
SalvoDate: Thursday, 30.08.2012, 11:10 | Message # 4
Star Engineer
Group: Local Moderators
Italy
Messages: 1400
Status: Offline
Quote (SpaceEngineer)
Salvo, did you modify the shaders?


Yes, i was trying to edit water's material to make reflection layer but i have to give up because any changes into a shader make SE crash... sad





The universe is not required to be in perfect harmony with human ambition.

CPU: Intel Core i7 4770 GPU: ASUS Radeon R9 270 RAM: 8 GBs

(still don't know why everyone is doing this...)
 
DoctorOfSpaceDate: Thursday, 30.08.2012, 11:15 | Message # 5
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3599
Status: Offline
Quote (Salvo)
because any changes into a shader make SE crash...


Variable tweaking in shaders doesn't cause crashes, unless you completely change its function. You can also swap some shader functions for others and those kinds of edits work fine.





Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
SpaceEngineerDate: Thursday, 30.08.2012, 23:59 | Message # 6
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4796
Status: Offline
Procedural texture generator shader does not affect reflection. Water is rendered by one of the shaders located in the cache:
cache/shaders/glsl/*water*.glsl





 
SalvoDate: Saturday, 01.09.2012, 10:12 | Message # 7
Star Engineer
Group: Local Moderators
Italy
Messages: 1400
Status: Offline
Quote (SpaceEngineer)
cache/shaders/glsl/*water*.glsl


I tried to write the code in one of cache/shaders/glsl/*water*.glsl files, now it don't crash but nothing happens into the game biggrin
(I'm taking a cue from here: http://en.wikibooks.org/wiki/Category:GLSL_Programming)





The universe is not required to be in perfect harmony with human ambition.

CPU: Intel Core i7 4770 GPU: ASUS Radeon R9 270 RAM: 8 GBs

(still don't know why everyone is doing this...)
 
Forum » SpaceEngine » Mods and Addons » Problem with Shaders - Modding (I'm tryng to make Reflections in water)
Page 1 of 11
Search: