Sign in to follow this  
Razchek

[0.21.x] ReflectiveShader Plugin (Version 1.2)

Recommended Posts

That worked. It's set to all default settings, aside from telling it to apply to all meshes.

2duasuc.png

A Better view from the top, looks nice and shiney!

2viftdg.png

Edited by InfiniteDice

Share this post


Link to post
Share on other sites

Hah very cool. I like the mix with carbon fiber. Shiny engines and carbon fiber = win. Not sure if I like those white parts on that vessel though. :P

Share this post


Link to post
Share on other sites

Just a couple of notes:

- ReflectiveShader Plugin still works with 0.21

- I've added support for KerbTown (in-case you wanted a mirror in your house.. or a chrome sphere to protect your Kerbals from the Sun :P)

Share this post


Link to post
Share on other sites

Ideally, when it comes to performance, you'd want to render a single cube map for all reflective objects in an area, but you'd have to drop dynamic objects, which is perhaps kind of purpose defeating, especially if you're in space with little but stars to reflect.

Perhaps it'd be possible to update the cube map generation less frequently so that it spend 6 frames rendering it, then 6 or even 12 frames keeping the previous map, effectively cutting the strain in half or more? It may not look as nice, but it's much more viable for those with less powerful machines.

Share this post


Link to post
Share on other sites
Hey,

Try setting MeshesToChange to all in your part config:

MeshesToChange = all

        // Use this variable to specify which meshes to apply the shader to.
// Not using this variable will default to the first found mesh.
// Use the actual mesh name for the value. Or you could use:
// all - to replace the shader on all meshes in the model.
MeshesToChange = meshName

I hope that helps!! :)

If not, could you PM me the prefab or model and I'll see if I can figure out what's wrong.

Well I tried this with the small lander cabin and it doesn't seem to work. I initially just wanted to do things like landing legs but the MeshesToChange thing doesn't seem to be working. Is it possible that it is case sensitive? I have it just like you have shown but all that is getting the reflection is the grab handles at the door and the window glass. The rest is still dull grey no matter what I do.

Someone else want to test the small lander cab and see if it is just something to do with the model?

Share this post


Link to post
Share on other sites
I know EXACTLY where to use this:

tumblr_mb12475S6z1r60xzto1_500.gif

now I just have to make it

MAKE THIS.

Please? It looks epic!

Share this post


Link to post
Share on other sites

I just think it looks a little TOO reflective, yaknow?

Maybe just windows and things, but IRL tanks and pods are NOWHERE near this reflective.

I really only would want reflective windows and things. They'd do much better than the current bluey-ness.

What is the feasibility of making reflective windows-only available to the general no-programming-or-modelling-skill public? That is, if they are feasible at all.

Share this post


Link to post
Share on other sites

So, I know this is a necro, but I have a reason: The plugin is now public domain, but both links are dead.

Does anyone have a copy of the plugin and/or the source? Could you upload it/them somewhere? Many thanks.

Share this post


Link to post
Share on other sites

Would be nice if someone will pick that up and make an optimized version with per-craft instead of per-part cubemap rendering.

Share this post


Link to post
Share on other sites

I feel that a toned down version of this could greatly improve the atmosphere of KSP. People are making really beautiful models of real life spacecraft, but that very distinct gleam that makes it look all fancy like is always missing.

Can not help you with any sources, unfortunately. I had a bit of a look through some archives, but no success.

Share this post


Link to post
Share on other sites

It's not dead yet. Razchek will be back, and "soon" relative to how long he's been gone. He poked his head in on the KerbTown thread a couple weeks ago giving us an update

Share this post


Link to post
Share on other sites

Really liking this mod, I hope the author updates it with more features. And perhaps add a few more examples as a teaching aid, or a small tutorial on how to do stuff.

Thank you for this! :cool:

Share this post


Link to post
Share on other sites

I released an updated version of this with source.

Changes include the ability to have non-realtime reflections so that it only updates periodically. Obviously if you want a realtime mirror you wouldn't want that. But if you just want environment mapping that changes with scenery then you would want to use that.

Reflection Plugin Continued

Share this post


Link to post
Share on other sites

I so badly want this, can anyone write up a simple tutorial on how to apply this via the module manager or whatever, so it auto-applies to all parts of a specified type (such as engine nozzles or windows)?

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this