History

Adding a simple manual exposure control to configure the tonemapping and expose it to js. Add a convenient way to access the Job._concept._data with template

samcake committed 10 years ago

Commit d2ebaef1 parent 2bbd5d818 files · +165 −12Browse files

Showing the changes to libraries/script-engine/src/SceneScriptingInterface.h (1 of 18 files). Show all

Unified · Split

libraries/script-engine/src/SceneScriptingInterface.h+4−0
@@ -118,6 +118,9 @@ public: · 117 unmodified lines
118118 Q_INVOKABLE void setEngineDisplayHitEffect(bool display) { _drawHitEffect = display; }
119119 Q_INVOKABLE bool doEngineDisplayHitEffect() { return _drawHitEffect; }
120120
121+ Q_INVOKABLE void setEngineToneMappingExposure(float exposure) { _engineToneMappingExposure = exposure; }
122+ Q_INVOKABLE float getEngineToneMappingExposure() { return _engineToneMappingExposure; }
123+
121124 signals:
122125 void shouldRenderAvatarsChanged(bool shouldRenderAvatars);
123126 void shouldRenderEntitiesChanged(bool shouldRenderEntities);
@@ -154,6 +157,7 @@ protected: · 30 unmodified lines
154157
155158 bool _drawHitEffect = false;
156159
160+ float _engineToneMappingExposure = 0.0f;
157161 };
158162
159163 #endif // hifi_SceneScriptingInterface_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t