Shader programming
JackDole Date: Wednesday, 13.01.2016, 21:12 | Message # 31
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
Quote SpaceEngineer (
)
Why? If black hole have a disk, then it must have a jet. One is impossible with another. Jet function could be added in the code in thr same way as the disk, and must blend with it correctly.
Okay, I have not thought about it enough.
Don't forget to look here .
JackDole Date: Sunday, 17.01.2016, 15:51 | Message # 32
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
I wonder if it would be possible a shader - for example, the shaders for selenas or asteroids to change so that they generate rectangular structures.
Don't forget to look here .
Fireinthehole Date: Sunday, 17.01.2016, 16:18 | Message # 33
Pioneer
Group: Translators
Sweden
Messages: 356
Status: Offline
Quote JackDole (
)
I wonder if it would be possible a shader - for example, the shaders for selenas or asteroids to change so that they generate rectangular structures.
For what use?
Love SpaceEngine!
quarior14 Date: Sunday, 17.01.2016, 16:24 | Message # 34
World Builder
Group: Users
Pirate
Messages: 649
Status: Offline
Quote Fireinthehole (
)
Quote JackDole (
)
I wonder if it would be possible a shader - for example, the shaders for selenas or asteroids to change so that they generate rectangular structures.
For what use?
I think it is to try to make buildings not ? Otherwise natural rectangular shapes, I too see what it is.
Quarior
JackDole Date: Sunday, 17.01.2016, 16:42 | Message # 35
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
Quote Fireinthehole (
)
For what use?
Actually, I was thinking of the Death Star, but for a planet like Trantor it might also be suitable.
Don't forget to look here .
quarior14 Date: Sunday, 17.01.2016, 16:53 | Message # 36
World Builder
Group: Users
Pirate
Messages: 649
Status: Offline
@JackDoleQuote JackDole (
)
Quote quarior14 (
)
Ride with the Missile Boat around Death Star :
Would be great if SpaceEngine could create surface textures of objects such as the Death Star procedural.
Oh, I wish you good luck (I was almost, buildings and the Death Star are artificial ). I just noticed that if get you, it can serve me for Commerce Central even if it is in fact a planet destroyed city but "Hollows" look but I do not know if we can make a shader for a specific object, in any case, we can not create a new class with a shader .
Quote quarior14 (
)
Quote DoctorOfSpace (
)
White Hole Shader
Quote DoctorOfSpace (
)
Quote quarior14 (
)
a way to update it with the Doppler effect
That is possible.
Quote quarior14 (
)
to a new class White Dwarf and uses whitehole_warp.glsl ?
That is not possible.
I do have a black hole rewrite that semi works as a white hole but the black hole updates have broken many aspects of it, it is unlikely I will invest the time to fix it.
Quarior
Edited by quarior14 - Sunday, 17.01.2016, 16:54
JackDole Date: Friday, 22.01.2016, 19:08 | Message # 37
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
Modified Sun shaders that let giants and supergiants look like this:NML Cygni UY Scuti Westerlund 1-26 Other stars remain normal.
Don't forget to look here .
DoctorOfSpace Date: Friday, 22.01.2016, 19:30 | Message # 38
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
Quote JackDole (
)
Modified Sun shaders that let giants and supergiants look like this:
I can see quite a few people enjoying this, however for those who want a bit more realistic giant stars I would recommend only using the glow shader Might need some tweaking but that alone could make some nicer looking giant stars
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
JackDole Date: Friday, 22.01.2016, 19:59 | Message # 39
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
Then maybe you should also undo the changes that correspond to the changes in the 'height shader'.
Don't forget to look here .
Edited by JackDole - Friday, 22.01.2016, 20:07
DoctorOfSpace Date: Friday, 22.01.2016, 20:05 | Message # 40
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
Quote JackDole (
)
Then maybe you should also undo the changes that correspond to the changes in the 'height shader'.
Indeed, noticed right after posting.
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
JackDole Date: Friday, 22.01.2016, 20:08 | Message # 41
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
In fact, it's just this one change that makes the thing.Code
// vec3 p = point * colorDistFreq + Randomize; vec3 p = point * colorDistFreqReplace + Randomize; // *** That's what matters. No idea why. ***
Where 'colorDistFreqReplace' is equal to 1.0
Don't forget to look here .
DoctorOfSpace Date: Friday, 22.01.2016, 20:15 | Message # 42
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
After doing that you should try changing Code
// Flows noiseOctaves = 5;
toCode
// Flows noiseOctaves = 10;
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
JackDole Date: Friday, 22.01.2016, 20:49 | Message # 43
Star Engineer
Group: Local Moderators
Germany
Messages: 1742
Status: Offline
This can be done. And there are more values with which you can play around. This is the shader with minimal changes. But it affects all the stars. Rename the attached file into "tg_sun_glow.glsl ".
Don't forget to look here .
Edited by JackDole - Sunday, 24.01.2016, 00:28
DoctorOfSpace Date: Friday, 22.01.2016, 23:17 | Message # 44
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
Quote JackDole (
)
But it affects all the stars.
Avoiding this should be a goal of such edits. That change in noise seems like it makes a world of difference in the detail on giant stars With that simple noise edit stars look much nicer SE has fairly accurate giant starshttp://www.aip.de/en....n-a-box
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
HarbingerDawn Date: Friday, 22.01.2016, 23:51 | Message # 45
Cosmic Curator
Group: Administrators
United States
Messages: 8717
Status: Offline
Quote DoctorOfSpace (
)
With that simple noise edit stars look much nicer
It looks more detailed, I would disagree that it looks nicer. I think toning down the scale of the lumps is what's needed, both in terms of size and amplitude.
All forum users, please read this ! My SE mods and addons Phenom II X6 1090T 3.2 GHz, 16 GB DDR3 RAM, GTX 970 3584 MB VRAM